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

pub struct Ipv4Addr(pub in_addr);

Methods

impl Ipv4Addr

fn new(a: u8, b: u8, c: u8, d: u8) -> Ipv4Addr

fn from_std(std: &Ipv4Addr) -> Ipv4Addr

fn any() -> Ipv4Addr

fn octets(&self) -> [u8; 4]

fn to_std(&self) -> Ipv4Addr

Trait Implementations

impl PartialEq for Ipv4Addr

fn eq(&self, other: &Ipv4Addr) -> bool

fn ne(&self, other: &Rhs) -> bool

impl Eq for Ipv4Addr

impl Hash for Ipv4Addr

fn hash<H: Hasher>(&self, s: &mut H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Clone for Ipv4Addr

fn clone(&self) -> Ipv4Addr

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

impl Display for Ipv4Addr

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

Derived Implementations

impl Copy for Ipv4Addr