#[repr(C)]pub struct Shutdown {
pub ev_type: Event,
pub flags: u16,
pub length: u32,
pub assoc_id: AssociationId,
}
Expand description
Shutdown: Structure rreturned as notification for Shutdown Event.
To subscribe to this notification type, An application should call sctp_subscribe_event
using
the Event
ty[e as Event::Shutdown
Fields§
§ev_type: Event
Type of the Notification always SCTP_SHUTDOWN
flags: u16
Notification Flags. Unused currently.
length: u32
Length of the notification data.
assoc_id: AssociationId
Association ID for the event.
Trait Implementations§
impl Eq for Shutdown
impl StructuralPartialEq for Shutdown
Auto Trait Implementations§
impl Freeze for Shutdown
impl RefUnwindSafe for Shutdown
impl Send for Shutdown
impl Sync for Shutdown
impl Unpin for Shutdown
impl UnwindSafe for Shutdown
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