Struct async_ssh2_lite::session::SessionConfiguration
source · pub struct SessionConfiguration { /* private fields */ }
Implementations§
source§impl 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§
source§impl Clone for SessionConfiguration
impl Clone for SessionConfiguration
source§fn clone(&self) -> SessionConfiguration
fn clone(&self) -> SessionConfiguration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SessionConfiguration
impl Debug for SessionConfiguration
source§impl Default for SessionConfiguration
impl Default for SessionConfiguration
source§fn default() -> SessionConfiguration
fn default() -> SessionConfiguration
Returns the “default value” for a type. Read more