pub struct Config { /* private fields */ }
Implementations§
Source§impl Config
impl Config
Sourcepub fn set_connect_timeout(&mut self, n: u64) -> &mut Self
pub fn set_connect_timeout(&mut self, n: u64) -> &mut Self
How much time it should wait until the socket connect times out.
pub fn set_skip_auth(&mut self, value: bool) -> &mut Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more