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 moresource§impl Debug for sctp_rcvinfo
impl Debug for sctp_rcvinfo
source§impl Hash for sctp_rcvinfo
impl Hash for sctp_rcvinfo
source§impl PartialEq<sctp_rcvinfo> for sctp_rcvinfo
impl PartialEq<sctp_rcvinfo> for sctp_rcvinfo
source§fn eq(&self, other: &sctp_rcvinfo) -> bool
fn eq(&self, other: &sctp_rcvinfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for sctp_rcvinfo
impl Eq for sctp_rcvinfo
impl StructuralEq for sctp_rcvinfo
impl StructuralPartialEq for sctp_rcvinfo
Auto Trait Implementations§
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