Struct sctp_sndinfo

#[repr(C)]
pub struct sctp_sndinfo { pub snd_sid: __u16, pub snd_flags: __u16, pub snd_ppid: __u32, pub snd_context: __u32, pub snd_assoc_id: sctp_assoc_t }

Fields

snd_sid: __u16
snd_flags: __u16
snd_ppid: __u32
snd_context: __u32
snd_assoc_id: sctp_assoc_t

Trait Implementations

impl Clone for sctp_sndinfo

fn clone(&self) -> sctp_sndinfo

impl Copy for sctp_sndinfo

impl Debug for sctp_sndinfo

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

impl Eq for sctp_sndinfo

impl Hash for sctp_sndinfo

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

impl PartialEq for sctp_sndinfo

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

impl StructuralPartialEq for sctp_sndinfo

Auto Trait Implementations

impl Freeze for sctp_sndinfo

impl RefUnwindSafe for sctp_sndinfo

impl Send for sctp_sndinfo

impl Sync for sctp_sndinfo

impl Unpin for sctp_sndinfo

impl UnsafeUnpin for sctp_sndinfo

impl UnwindSafe for sctp_sndinfo

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for sctp_sndinfo

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for sctp_sndinfo 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_sndinfo where U: Into<T>,

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

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

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