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: Duration
Duration
of the lease allocated to the client.
Trait Implementations
impl PartialEq for Tlease
[src]
fn eq(&self, __arg_0: &Tlease) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Tlease) -> bool
This method tests for !=
.