Struct async_ssh2_lite::SessionConfiguration
source · [−]pub struct SessionConfiguration { /* private fields */ }
Implementations
sourceimpl SessionConfiguration
impl SessionConfiguration
pub fn new() -> Self
pub fn set_allow_sigpipe(&mut self, block: bool)
pub fn set_compress(&mut self, compress: bool)
pub fn set_timeout(&mut self, timeout_ms: u32)
pub fn set_keepalive(&mut self, want_reply: bool, interval: u32)
Trait Implementations
sourceimpl Clone for SessionConfiguration
impl Clone for SessionConfiguration
sourcefn clone(&self) -> SessionConfiguration
fn clone(&self) -> SessionConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for SessionConfiguration
impl Default for SessionConfiguration
sourcefn default() -> SessionConfiguration
fn default() -> SessionConfiguration
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for SessionConfiguration
impl Send for SessionConfiguration
impl Sync for SessionConfiguration
impl Unpin for SessionConfiguration
impl UnwindSafe for SessionConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more