Struct async_ssh2_tokio::Config 
source · pub struct Config {
    pub client_id: SshId,
    pub limits: Limits,
    pub window_size: u32,
    pub maximum_packet_size: u32,
    pub preferred: Preferred,
    pub inactivity_timeout: Option<Duration>,
    pub keepalive_interval: Option<Duration>,
    pub anonymous: bool,
}Expand description
The configuration of clients.
Fields§
§client_id: SshIdThe client ID string sent at the beginning of the protocol.
limits: LimitsThe bytes and time limits before key re-exchange.
window_size: u32The initial size of a channel (used for flow control).
maximum_packet_size: u32The maximal size of a single packet.
preferred: PreferredLists of preferred algorithms.
inactivity_timeout: Option<Duration>Time after which the connection is garbage-collected.
keepalive_interval: Option<Duration>If nothing is sent or received for this amount of time, send a keepalive message.
anonymous: boolWhether to expect and wait for an authentication call.
Trait Implementations§
Auto Trait Implementations§
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