Struct libc::sctp_sndrcvinfo
source · #[repr(C)]pub struct sctp_sndrcvinfo {
pub sinfo_stream: __u16,
pub sinfo_ssn: __u16,
pub sinfo_flags: __u16,
pub sinfo_ppid: __u32,
pub sinfo_context: __u32,
pub sinfo_timetolive: __u32,
pub sinfo_tsn: __u32,
pub sinfo_cumtsn: __u32,
pub sinfo_assoc_id: sctp_assoc_t,
}
Fields§
§sinfo_stream: __u16
§sinfo_ssn: __u16
§sinfo_flags: __u16
§sinfo_ppid: __u32
§sinfo_context: __u32
§sinfo_timetolive: __u32
§sinfo_tsn: __u32
§sinfo_cumtsn: __u32
§sinfo_assoc_id: sctp_assoc_t
Trait Implementations§
source§impl Clone for sctp_sndrcvinfo
impl Clone for sctp_sndrcvinfo
source§fn clone(&self) -> sctp_sndrcvinfo
fn clone(&self) -> sctp_sndrcvinfo
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_sndrcvinfo
impl Debug for sctp_sndrcvinfo
source§impl Hash for sctp_sndrcvinfo
impl Hash for sctp_sndrcvinfo
source§impl PartialEq for sctp_sndrcvinfo
impl PartialEq for sctp_sndrcvinfo
source§fn eq(&self, other: &sctp_sndrcvinfo) -> bool
fn eq(&self, other: &sctp_sndrcvinfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for sctp_sndrcvinfo
impl Eq for sctp_sndrcvinfo
impl StructuralPartialEq for sctp_sndrcvinfo
Auto Trait Implementations§
impl Freeze for sctp_sndrcvinfo
impl RefUnwindSafe for sctp_sndrcvinfo
impl Send for sctp_sndrcvinfo
impl Sync for sctp_sndrcvinfo
impl Unpin for sctp_sndrcvinfo
impl UnwindSafe for sctp_sndrcvinfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)