Struct libc::sctp_rcvinfo
source · #[repr(C)]pub struct sctp_rcvinfo {
pub rcv_sid: __u16,
pub rcv_ssn: __u16,
pub rcv_flags: __u16,
pub rcv_ppid: __u32,
pub rcv_tsn: __u32,
pub rcv_cumtsn: __u32,
pub rcv_context: __u32,
pub rcv_assoc_id: sctp_assoc_t,
}
Fields§
§rcv_sid: __u16
§rcv_ssn: __u16
§rcv_flags: __u16
§rcv_ppid: __u32
§rcv_tsn: __u32
§rcv_cumtsn: __u32
§rcv_context: __u32
§rcv_assoc_id: sctp_assoc_t
Trait Implementations§
source§impl Clone for sctp_rcvinfo
impl Clone for sctp_rcvinfo
source§fn clone(&self) -> sctp_rcvinfo
fn clone(&self) -> sctp_rcvinfo
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 moreimpl Copy for sctp_rcvinfo
Auto Trait Implementations§
impl Freeze for sctp_rcvinfo
impl RefUnwindSafe for sctp_rcvinfo
impl Send for sctp_rcvinfo
impl Sync for sctp_rcvinfo
impl Unpin for sctp_rcvinfo
impl UnwindSafe for sctp_rcvinfo
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: 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
)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
)