docs: some minor doc-comments in client::builder
This commit is contained in:
parent
37196caf75
commit
b150a71cc5
1 changed files with 3 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
//! Builder for Client
|
||||||
|
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
|
@ -12,6 +14,7 @@ use tokio_rustls::rustls::{
|
||||||
SupportedProtocolVersion,
|
SupportedProtocolVersion,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/// Builder for creating configured [`Client`] instance
|
||||||
pub struct ClientBuilder {
|
pub struct ClientBuilder {
|
||||||
root_certs: rustls::RootCertStore,
|
root_certs: rustls::RootCertStore,
|
||||||
ss_verifier: Option<Box<dyn SelfsignedCertVerifier>>,
|
ss_verifier: Option<Box<dyn SelfsignedCertVerifier>>,
|
||||||
|
|
Loading…
Add table
Reference in a new issue