pub struct LinkTimers {
pub cadence: LinkCadence,
pub handshake_timeout: Duration,
pub read_idle: Duration,
}Available on crate feature
link only.Expand description
Every time bound a link needs, all chosen by the caller.
Fields§
§cadence: LinkCadenceThe protocol cadence.
handshake_timeout: DurationLongest the handshake may take before the attempt fails.
read_idle: DurationLongest silence from a connected peer before the link ends.
Trait Implementations§
Source§impl Clone for LinkTimers
impl Clone for LinkTimers
impl Copy for LinkTimers
Source§impl Debug for LinkTimers
impl Debug for LinkTimers
impl Eq for LinkTimers
Source§impl PartialEq for LinkTimers
impl PartialEq for LinkTimers
impl StructuralPartialEq for LinkTimers
Auto Trait Implementations§
impl Forget for LinkTimers
impl Freeze for LinkTimers
impl Move for LinkTimers
impl RefUnwindSafe for LinkTimers
impl Send for LinkTimers
impl Sync for LinkTimers
impl Unpin for LinkTimers
impl UnsafeUnpin for LinkTimers
impl UnwindSafe for LinkTimers
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