#[repr(C, packed(1))]pub struct sctp_error_cause {
pub code: u16,
pub length: u16,
}Fields§
§code: u16§length: u16Trait Implementations§
Source§impl Clone for sctp_error_cause
impl Clone for sctp_error_cause
Source§fn clone(&self) -> sctp_error_cause
fn clone(&self) -> sctp_error_cause
Returns a duplicate 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 sctp_error_cause
impl Debug for sctp_error_cause
impl Copy for sctp_error_cause
Auto Trait Implementations§
impl Freeze for sctp_error_cause
impl RefUnwindSafe for sctp_error_cause
impl Send for sctp_error_cause
impl Sync for sctp_error_cause
impl Unpin for sctp_error_cause
impl UnwindSafe for sctp_error_cause
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