Expand description
The timing parameters of a data exchange.
These three values are included in the end-of-data PDU of version 1 onwards.
Fields
refresh: u32
The number of seconds until a client should refresh its data.
retry: u32
The number of seconds a client whould wait before retrying to connect.
expire: u32
The number of secionds before data expires if not refreshed.
Implementations
sourceimpl Timing
impl Timing
pub fn refresh_duration(self) -> Duration
Trait Implementations
impl Copy for Timing
Auto Trait Implementations
impl RefUnwindSafe for Timing
impl Send for Timing
impl Sync for Timing
impl Unpin for Timing
impl UnwindSafe for Timing
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more