Struct tokio_timer::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
.
Methods
impl<T> Expired<T>
[src]
impl<T> Expired<T>
pub fn get_ref(&self) -> &T
[src]
pub fn get_ref(&self) -> &T
Returns a reference to the inner value.
pub fn get_mut(&mut self) -> &mut T
[src]
pub fn get_mut(&mut self) -> &mut T
Returns a mutable reference to the inner value.
pub fn into_inner(self) -> T
[src]
pub fn into_inner(self) -> T
Consumes self
and returns the inner value.