#[repr(C, packed(1))]pub struct sctp_common_header {
pub source_port: u16,
pub destination_port: u16,
pub verification_tag: u32,
pub crc32c: u32,
}Fields§
§source_port: u16§destination_port: u16§verification_tag: u32§crc32c: u32Trait Implementations§
Source§impl Clone for sctp_common_header
impl Clone for sctp_common_header
Source§fn clone(&self) -> sctp_common_header
fn clone(&self) -> sctp_common_header
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 sctp_common_header
impl Debug for sctp_common_header
impl Copy for sctp_common_header
Auto Trait Implementations§
impl Freeze for sctp_common_header
impl RefUnwindSafe for sctp_common_header
impl Send for sctp_common_header
impl Sync for sctp_common_header
impl Unpin for sctp_common_header
impl UnwindSafe for sctp_common_header
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