Enum sctp_rs::NotificationOrData
source · pub enum NotificationOrData {
Notification(Notification),
Data(ReceivedData),
}
Expand description
NotificationOrData: A type returned by a sctp_recv
call.
Variants§
Notification(Notification)
SCTP Notification received by an sctp_recv
call.
Data(ReceivedData)
SCTP Data Received by an sctp_recv
call.
Trait Implementations§
source§impl Clone for NotificationOrData
impl Clone for NotificationOrData
source§fn clone(&self) -> NotificationOrData
fn clone(&self) -> NotificationOrData
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 more