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 moreSource§impl Debug for NotificationOrData
impl Debug for NotificationOrData
Source§impl PartialEq for NotificationOrData
impl PartialEq for NotificationOrData
impl Eq for NotificationOrData
impl StructuralPartialEq for NotificationOrData
Auto Trait Implementations§
impl Freeze for NotificationOrData
impl RefUnwindSafe for NotificationOrData
impl Send for NotificationOrData
impl Sync for NotificationOrData
impl Unpin for NotificationOrData
impl UnwindSafe for NotificationOrData
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