pub struct WriteQueue<T> { /* private fields */ }
Implementations§
Source§impl<T> WriteQueue<T>
impl<T> WriteQueue<T>
pub fn push(&self, item: T) -> bool
pub fn push_without_notify(&self, item: T) -> bool
pub fn is_empty(&self) -> bool
pub fn notify_manually(&self) -> bool
pub fn push_with_awaiter(&self, item: T) -> PushResult
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for WriteQueue<T>
impl<T> !RefUnwindSafe for WriteQueue<T>
impl<T> !Send for WriteQueue<T>
impl<T> !Sync for WriteQueue<T>
impl<T> Unpin for WriteQueue<T>
impl<T> !UnwindSafe for WriteQueue<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