pub struct Drained<C, U> {
pub control: Vec<C>,
pub user: Vec<U>,
}Expand description
Items still queued when the consumer tears down (see Consumer::drain).
Fields§
§control: Vec<C>Queued control items, in FIFO order.
user: Vec<U>Queued user items, in FIFO order.
Trait Implementations§
Auto Trait Implementations§
impl<C, U> Freeze for Drained<C, U>
impl<C, U> RefUnwindSafe for Drained<C, U>where
C: RefUnwindSafe,
U: RefUnwindSafe,
impl<C, U> Send for Drained<C, U>
impl<C, U> Sync for Drained<C, U>
impl<C, U> Unpin for Drained<C, U>
impl<C, U> UnsafeUnpin for Drained<C, U>
impl<C, U> UnwindSafe for Drained<C, U>where
C: UnwindSafe,
U: 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