Struct ip_mreqn

#[repr(C)]
pub struct ip_mreqn { pub imr_multiaddr: in_addr, pub imr_address: in_addr, pub imr_ifindex: c_int }

Fields

imr_multiaddr: in_addr
imr_address: in_addr
imr_ifindex: c_int

Trait Implementations

impl Clone for ip_mreqn

fn clone(&self) -> ip_mreqn

impl Copy for ip_mreqn

impl Debug for ip_mreqn

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

impl Eq for ip_mreqn

impl Hash for ip_mreqn

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

impl PartialEq for ip_mreqn

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

impl StructuralPartialEq for ip_mreqn

Auto Trait Implementations

impl Freeze for ip_mreqn

impl RefUnwindSafe for ip_mreqn

impl Send for ip_mreqn

impl Sync for ip_mreqn

impl Unpin for ip_mreqn

impl UnsafeUnpin for ip_mreqn

impl UnwindSafe for ip_mreqn

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for ip_mreqn

fn from(t: T) -> T

Returns the argument unchanged.

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

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

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

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