pub struct Expired<T, I: Instant> { /* private fields */ }
Expand description
An entry in DelayQueue
that has expired and been removed.
Values are returned by DelayQueue::poll_expired
.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T, I> Freeze for Expired<T, I>
impl<T, I> RefUnwindSafe for Expired<T, I>where
T: RefUnwindSafe,
I: RefUnwindSafe,
impl<T, I> Send for Expired<T, I>
impl<T, I> Sync for Expired<T, I>
impl<T, I> Unpin for Expired<T, I>
impl<T, I> UnwindSafe for Expired<T, I>where
T: UnwindSafe,
I: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more