Struct sctp_rcvinfo

#[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

impl Clone for sctp_rcvinfo

fn clone(&self) -> sctp_rcvinfo

impl Copy for sctp_rcvinfo

impl Debug for sctp_rcvinfo

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for sctp_rcvinfo

impl Hash for sctp_rcvinfo

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for sctp_rcvinfo

fn eq(&self, other: &sctp_rcvinfo) -> bool

impl StructuralPartialEq 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 UnsafeUnpin for sctp_rcvinfo

impl UnwindSafe for sctp_rcvinfo

Blanket Implementations

impl<T> Any for sctp_rcvinfo where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for sctp_rcvinfo where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for sctp_rcvinfo where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for sctp_rcvinfo where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for sctp_rcvinfo

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for sctp_rcvinfo where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for sctp_rcvinfo where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for sctp_rcvinfo where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>