Struct libc::sockaddr_pkt
source · #[repr(C)]pub struct sockaddr_pkt {
pub spkt_family: c_ushort,
pub spkt_device: [c_uchar; 14],
pub spkt_protocol: c_ushort,
}
Fields§
§spkt_family: c_ushort
§spkt_device: [c_uchar; 14]
§spkt_protocol: c_ushort
Trait Implementations§
source§impl Clone for sockaddr_pkt
impl Clone for sockaddr_pkt
source§fn clone(&self) -> sockaddr_pkt
fn clone(&self) -> sockaddr_pkt
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 sockaddr_pkt
impl Debug for sockaddr_pkt
source§impl Hash for sockaddr_pkt
impl Hash for sockaddr_pkt
source§impl PartialEq for sockaddr_pkt
impl PartialEq for sockaddr_pkt
source§fn eq(&self, other: &sockaddr_pkt) -> bool
fn eq(&self, other: &sockaddr_pkt) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for sockaddr_pkt
impl Eq for sockaddr_pkt
impl StructuralPartialEq for sockaddr_pkt
Auto Trait Implementations§
impl Freeze for sockaddr_pkt
impl RefUnwindSafe for sockaddr_pkt
impl Send for sockaddr_pkt
impl Sync for sockaddr_pkt
impl Unpin for sockaddr_pkt
impl UnwindSafe for sockaddr_pkt
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