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