Enum tokio::sync::notify::NotifyOneStrategy
source · #[repr(usize)]enum NotifyOneStrategy {
Fifo = 0,
Lifo = 1,
}
Variants§
Trait Implementations§
source§impl Debug for NotifyOneStrategy
impl Debug for NotifyOneStrategy
source§impl PartialEq for NotifyOneStrategy
impl PartialEq for NotifyOneStrategy
source§fn eq(&self, other: &NotifyOneStrategy) -> bool
fn eq(&self, other: &NotifyOneStrategy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for NotifyOneStrategy
impl StructuralPartialEq for NotifyOneStrategy
Auto Trait Implementations§
impl Freeze for NotifyOneStrategy
impl RefUnwindSafe for NotifyOneStrategy
impl Send for NotifyOneStrategy
impl Sync for NotifyOneStrategy
impl Unpin for NotifyOneStrategy
impl UnwindSafe for NotifyOneStrategy
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