Enum sctp_rs::Notification
source · 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<Notification> for Notification
impl PartialEq<Notification> 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 ==
.