Struct thrussh::Limits
[−]
[src]
pub struct Limits { /* fields omitted */ }
The number of bytes read/written, and the number of seconds before a key re-exchange is requested.
Methods
impl Limits
[src]
fn new(write_limit: usize, read_limit: usize, time_limit: Duration) -> Limits
Create a new Limits
, checking that the given bounds cannot lead to nonce reuse.
Trait Implementations
impl Debug for Limits
[src]
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