Struct nix::sys::socket::ip_mreq [] [src]

pub struct ip_mreq {
    pub imr_multiaddr: in_addr,
    pub imr_interface: in_addr,
}

Fields

imr_multiaddr
imr_interface

Methods

impl ip_mreq

fn new(group: Ipv4Addr, interface: Option<Ipv4Addr>) -> ip_mreq

Trait Implementations

impl Debug for ip_mreq

fn fmt(&self, fmt: &mut Formatter) -> Result

Derived Implementations

impl Copy for ip_mreq

impl Clone for ip_mreq

fn clone(&self) -> ip_mreq

fn clone_from(&mut self, source: &Self)