pub trait Lease {
    type Id: Copy + Eq + Hash + PartialEq;

    fn id(&self) -> Self::Id;
    fn timeout(&self) -> Instant;
}

Required Associated Types

Required Methods

The value returned need not be equal, even for two consecutive calls.

Implementors