Struct socket2::sys::IpMreqSource
source · #[repr(C)]pub(crate) struct IpMreqSource {
pub imr_multiaddr: in_addr,
pub imr_interface: in_addr,
pub imr_sourceaddr: in_addr,
}
Fields§
§imr_multiaddr: in_addr
§imr_interface: in_addr
§imr_sourceaddr: in_addr
Trait Implementations§
source§impl Clone for ip_mreq_source
impl Clone for ip_mreq_source
source§fn clone(&self) -> ip_mreq_source
fn clone(&self) -> ip_mreq_source
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 ip_mreq_source
impl Debug for ip_mreq_source
source§impl Hash for ip_mreq_source
impl Hash for ip_mreq_source
source§impl PartialEq for ip_mreq_source
impl PartialEq for ip_mreq_source
source§fn eq(&self, other: &ip_mreq_source) -> bool
fn eq(&self, other: &ip_mreq_source) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ip_mreq_source
impl Eq for ip_mreq_source
impl StructuralPartialEq for ip_mreq_source
Auto Trait Implementations§
impl Freeze for ip_mreq_source
impl RefUnwindSafe for ip_mreq_source
impl Send for ip_mreq_source
impl Sync for ip_mreq_source
impl Unpin for ip_mreq_source
impl UnwindSafe for ip_mreq_source
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