Struct futures_delay_queue::DelayQueue [−][src]
pub struct DelayQueue<T: 'static, A: RingBuf<Item = T>> { /* fields omitted */ }
Expand description
A queue for managing delayed items.
Implementations
Inserts an item into the delay queue that will be yielded after dur
has passed.
Inserts an item into the delay queue that will be yielded at when
.
Trait Implementations
Auto Trait Implementations
impl<T, A> !RefUnwindSafe for DelayQueue<T, A>
impl<T, A> Send for DelayQueue<T, A> where
A: Send,
T: Send,
impl<T, A> Sync for DelayQueue<T, A> where
A: Send,
T: Send,
impl<T, A> Unpin for DelayQueue<T, A>
impl<T, A> !UnwindSafe for DelayQueue<T, A>
Blanket Implementations
Mutably borrows from an owned value. Read more