pub struct SlotImpl<T> { /* private fields */ }
Expand description
The main implementation for Slot trait. Allows to pull data from queue.
Implementations§
Source§impl<T> SlotImpl<T>
impl<T> SlotImpl<T>
Sourcepub fn discard_pending(&self)
pub fn discard_pending(&self)
Clean queue
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for SlotImpl<T>
impl<T> RefUnwindSafe for SlotImpl<T>
impl<T> Send for SlotImpl<T>where
T: Send,
impl<T> !Sync for SlotImpl<T>
impl<T> Unpin for SlotImpl<T>
impl<T> UnwindSafe for SlotImpl<T>
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