Struct mux::Tlease [] [src]

pub struct Tlease {
    pub duration: Duration,
}

Representation of a mux Tlease frame.

A Tlease is a marker message that is issued to alert the client that it has been allocated resources for a specific duration. In the abscence of a Tlease, the client assumes it holds an indefinate lease. Adhering to the lease is optional but the server may reject requests or operate at a degraded capacity under and expired lease.

Fields

Duration of the lease allocated to the client.

Trait Implementations

impl PartialEq for Tlease
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Tlease
[src]

impl Debug for Tlease
[src]

Formats the value using the given formatter.