pub enum OwnedNotification<T> {
MemberUp(T),
MemberDown(T),
Rename(T, T),
Active,
Idle,
Defunct,
Rejoin(T),
DataReceived(Header<T>),
DataSent(Header<T>),
ProbeFailed(ProbeNumber, T),
}Expand description
An owned Notification, for convenience.
See Notification for details
Variants§
MemberUp(T)
MemberDown(T)
Rename(T, T)
Active
Idle
Defunct
Rejoin(T)
DataReceived(Header<T>)
DataSent(Header<T>)
ProbeFailed(ProbeNumber, T)
Trait Implementations§
Source§impl<T: Clone> Clone for OwnedNotification<T>
impl<T: Clone> Clone for OwnedNotification<T>
Source§fn clone(&self) -> OwnedNotification<T>
fn clone(&self) -> OwnedNotification<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Debug> Debug for OwnedNotification<T>
impl<T: Debug> Debug for OwnedNotification<T>
Source§impl<T: PartialEq> PartialEq for OwnedNotification<T>
impl<T: PartialEq> PartialEq for OwnedNotification<T>
impl<T: Eq> Eq for OwnedNotification<T>
impl<T> StructuralPartialEq for OwnedNotification<T>
Auto Trait Implementations§
impl<T> Freeze for OwnedNotification<T>where
T: Freeze,
impl<T> RefUnwindSafe for OwnedNotification<T>where
T: RefUnwindSafe,
impl<T> Send for OwnedNotification<T>where
T: Send,
impl<T> Sync for OwnedNotification<T>where
T: Sync,
impl<T> Unpin for OwnedNotification<T>where
T: Unpin,
impl<T> UnwindSafe for OwnedNotification<T>where
T: 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