Struct sctp_initmsg

#[repr(C)]
pub struct sctp_initmsg { pub sinit_num_ostreams: __u16, pub sinit_max_instreams: __u16, pub sinit_max_attempts: __u16, pub sinit_max_init_timeo: __u16 }

Fields

sinit_num_ostreams: __u16
sinit_max_instreams: __u16
sinit_max_attempts: __u16
sinit_max_init_timeo: __u16

Trait Implementations

impl Clone for sctp_initmsg

fn clone(&self) -> sctp_initmsg

impl Copy for sctp_initmsg

impl Debug for sctp_initmsg

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

impl Eq for sctp_initmsg

impl Hash for sctp_initmsg

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

impl PartialEq for sctp_initmsg

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

impl StructuralPartialEq for sctp_initmsg

Auto Trait Implementations

impl Freeze for sctp_initmsg

impl RefUnwindSafe for sctp_initmsg

impl Send for sctp_initmsg

impl Sync for sctp_initmsg

impl Unpin for sctp_initmsg

impl UnsafeUnpin for sctp_initmsg

impl UnwindSafe for sctp_initmsg

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for sctp_initmsg

fn from(t: T) -> T

Returns the argument unchanged.

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

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

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

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