Struct sctp_prinfo

#[repr(C)]
pub struct sctp_prinfo { pub pr_policy: __u16, pub pr_value: __u32 }

Fields

pr_policy: __u16
pr_value: __u32

Trait Implementations

impl Clone for sctp_prinfo

fn clone(&self) -> sctp_prinfo

impl Copy for sctp_prinfo

impl Debug for sctp_prinfo

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

impl Eq for sctp_prinfo

impl Hash for sctp_prinfo

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

impl PartialEq for sctp_prinfo

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

impl StructuralPartialEq for sctp_prinfo

Auto Trait Implementations

impl Freeze for sctp_prinfo

impl RefUnwindSafe for sctp_prinfo

impl Send for sctp_prinfo

impl Sync for sctp_prinfo

impl Unpin for sctp_prinfo

impl UnsafeUnpin for sctp_prinfo

impl UnwindSafe for sctp_prinfo

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for sctp_prinfo

fn from(t: T) -> T

Returns the argument unchanged.

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

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

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

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