pub struct Ipv4RecvIf;
Available on crate features
socket
and net
only.Expand description
The recvmsg(2)
call returns a struct sockaddr_dl
corresponding to
the interface on which the packet was received.
Trait Implementations§
source§impl Clone for Ipv4RecvIf
impl Clone for Ipv4RecvIf
source§fn clone(&self) -> Ipv4RecvIf
fn clone(&self) -> Ipv4RecvIf
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 Ipv4RecvIf
impl Debug for Ipv4RecvIf
source§impl GetSockOpt for Ipv4RecvIf
impl GetSockOpt for Ipv4RecvIf
source§impl Hash for Ipv4RecvIf
impl Hash for Ipv4RecvIf
source§impl PartialEq<Ipv4RecvIf> for Ipv4RecvIf
impl PartialEq<Ipv4RecvIf> for Ipv4RecvIf
source§fn eq(&self, other: &Ipv4RecvIf) -> bool
fn eq(&self, other: &Ipv4RecvIf) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SetSockOpt for Ipv4RecvIf
impl SetSockOpt for Ipv4RecvIf
impl Copy for Ipv4RecvIf
impl Eq for Ipv4RecvIf
impl StructuralEq for Ipv4RecvIf
impl StructuralPartialEq for Ipv4RecvIf
Auto Trait Implementations§
impl RefUnwindSafe for Ipv4RecvIf
impl Send for Ipv4RecvIf
impl Sync for Ipv4RecvIf
impl Unpin for Ipv4RecvIf
impl UnwindSafe for Ipv4RecvIf
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