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

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

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

The bytes and time limits before key re-exchange.

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

The maximal size of a single packet.

Lists of preferred algorithms.

Time after which the connection is garbage-collected.

Trait Implementations

impl Debug for Config
[src]

Formats the value using the given formatter.

impl Default for Config
[src]

Returns the "default value" for a type. Read more