Struct nix::sys::socket::IpMembershipRequest
[−]
[src]
#[repr(C)]pub struct IpMembershipRequest(_);
Request for multicast socket operations
This is a wrapper type around ip_mreq.
Methods
impl IpMembershipRequest[src]
pub fn new(group: Ipv4Addr, interface: Option<Ipv4Addr>) -> Self[src]
Instantiate a new IpMembershipRequest
If interface is None, then Ipv4Addr::any() will be used for the interface.
Trait Implementations
impl Clone for IpMembershipRequest[src]
fn clone(&self) -> IpMembershipRequest[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for IpMembershipRequest[src]
impl PartialEq for IpMembershipRequest[src]
fn eq(&self, other: &Self) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.