[][src]Struct thrussh::client::Config

pub struct Config {
    pub client_id: String,
    pub limits: Limits,
    pub window_size: u32,
    pub maximum_packet_size: u32,
    pub preferred: Preferred,
    pub connection_timeout: Option<Duration>,
}

The configuration of clients.

Fields

client_id: String

The client ID string sent at the beginning of the protocol.

limits: Limits

The bytes and time limits before key re-exchange.

window_size: u32

The initial size of a channel (used for flow control).

maximum_packet_size: u32

The maximal size of a single packet.

preferred: Preferred

Lists of preferred algorithms.

connection_timeout: Option<Duration>

Time after which the connection is garbage-collected.

Trait Implementations

impl Default for Config[src]

impl Debug for Config[src]

Auto Trait Implementations

impl Sync for Config

impl Send for Config

impl Unpin for Config

impl RefUnwindSafe for Config

impl UnwindSafe for Config

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T