Struct rustpython_vm::stdlib::errno::errors::packet_mreq
source · #[repr(C)]pub struct packet_mreq {
pub mr_ifindex: i32,
pub mr_type: u16,
pub mr_alen: u16,
pub mr_address: [u8; 8],
}
Fields§
§mr_ifindex: i32
§mr_type: u16
§mr_alen: u16
§mr_address: [u8; 8]
Trait Implementations§
source§impl Clone for packet_mreq
impl Clone for packet_mreq
source§fn clone(&self) -> packet_mreq
fn clone(&self) -> packet_mreq
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for packet_mreq
impl Debug for packet_mreq
source§impl Hash for packet_mreq
impl Hash for packet_mreq
source§impl PartialEq<packet_mreq> for packet_mreq
impl PartialEq<packet_mreq> for packet_mreq
source§fn eq(&self, other: &packet_mreq) -> bool
fn eq(&self, other: &packet_mreq) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for packet_mreq
impl Eq for packet_mreq
impl StructuralEq for packet_mreq
impl StructuralPartialEq for packet_mreq
Auto Trait Implementations§
impl RefUnwindSafe for packet_mreq
impl Send for packet_mreq
impl Sync for packet_mreq
impl Unpin for packet_mreq
impl UnwindSafe for packet_mreq
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CallHasher for Twhere
T: Hash + ?Sized,
impl<T> CallHasher for Twhere T: Hash + ?Sized,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.