Struct thrussh::Limits [] [src]

pub struct Limits {
    pub rekey_write_limit: usize,
    pub rekey_read_limit: usize,
    pub rekey_time_limit_s: f64,
}

The number of bytes read/written, and the number of seconds before a key re-exchange is requested.

Fields

rekey_write_limit: usize rekey_read_limit: usize rekey_time_limit_s: f64

Trait Implementations

impl Clone for Limits
[src]

fn clone(&self) -> Limits

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for Limits
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.