pub enum Notification {
AssociationChange(AssociationChange),
Shutdown(Shutdown),
Unsupported,
}
Expand description
An enum
representing the notifications received on the SCTP Sockets.
Variants§
AssociationChange(AssociationChange)
Association Change Notification. See Section 6.1.1 of RFC 6458.
Shutdown(Shutdown)
Shutdown Notification. See Section 6.1.5 of RFC 6458.
Unsupported
A Catchall Notification type for the Notifications that are not supported
Trait Implementations§
Source§impl Clone for Notification
impl Clone for Notification
Source§fn clone(&self) -> Notification
fn clone(&self) -> Notification
Returns a copy 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 Debug for Notification
impl Debug for Notification
Source§impl PartialEq for Notification
impl PartialEq for Notification
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