Struct libc::packet_mreq
#[repr(C)]
pub struct packet_mreq {
pub mr_ifindex: ::c_int,
pub mr_type: ::c_ushort,
pub mr_alen: ::c_ushort,
pub mr_address: [::c_uchar; 8],
}Fields
pub mr_ifindex: ::c_intpub mr_type: ::c_ushortpub mr_alen: ::c_ushortpub mr_address: [::c_uchar; 8]Trait Implementations
impl Clone for packet_mreq
fn clone(&Self) -> packet_mreqimpl Copy for packet_mreqimpl Debug for packet_mreq
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl Eq for packet_mreqimpl Hash for packet_mreq
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()impl PartialEq<packet_mreq> for packet_mreq
fn eq(&Self, other: &packet_mreq) -> boolfn ne(&Self, other: &packet_mreq) -> boolimpl StructuralEq for packet_mreqimpl StructuralPartialEq for packet_mreqAuto Trait Implementations
impl RefUnwindSafe for packet_mreqimpl Send for packet_mreqimpl Sync for packet_mreqimpl Unpin for packet_mreqimpl UnwindSafe for packet_mreqBlanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T