Struct ip_mreq
#[repr(C)]
pub struct ip_mreq { pub imr_multiaddr: in_addr, pub imr_interface: in_addr }
Fields
imr_multiaddr: in_addrimr_interface: in_addr
Trait Implementations
impl Clone for ip_mreq
fn clone(&self) -> ip_mreq
impl Copy for ip_mreq
impl Debug for ip_mreq
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for ip_mreq
impl Hash for ip_mreq
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for ip_mreq
fn eq(&self, other: &ip_mreq) -> bool
impl StructuralPartialEq for ip_mreq
Auto Trait Implementations
impl Freeze for ip_mreq
impl RefUnwindSafe for ip_mreq
impl Send for ip_mreq
impl Sync for ip_mreq
impl Unpin for ip_mreq
impl UnsafeUnpin for ip_mreq
impl UnwindSafe for ip_mreq
Blanket Implementations
impl<T> Any for ip_mreq
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for ip_mreq
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for ip_mreq
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for ip_mreq
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for ip_mreq
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for ip_mreq
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for ip_mreq
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for ip_mreq
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>