Struct tokio::time::delay_queue::Expired   [−][src]
pub struct Expired<T> { /* fields omitted */ }An entry in DelayQueue that has expired and removed.
Values are returned by DelayQueue::poll_expired.
Implementations
impl<T> Expired<T>[src]
impl<T> Expired<T>[src]pub fn get_ref(&self) -> &Tⓘ[src]
Returns a reference to the inner value.
pub fn get_mut(&mut self) -> &mut Tⓘ[src]
Returns a mutable reference to the inner value.
pub fn into_inner(self) -> T[src]
Consumes self and returns the inner value.
pub fn deadline(&self) -> Instant[src]
Returns the deadline that the expiration was set to.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Expired<T> where
    T: RefUnwindSafe, 
T: RefUnwindSafe,
impl<T> Send for Expired<T> where
    T: Send, 
T: Send,
impl<T> Sync for Expired<T> where
    T: Sync, 
T: Sync,
impl<T> Unpin for Expired<T> where
    T: Unpin, 
T: Unpin,
impl<T> UnwindSafe for Expired<T> where
    T: UnwindSafe, 
T: UnwindSafe,