[][src]Struct jnet::ipv4::Addr

pub struct Addr(pub [u8; 4]);

IPv4 address

Methods

impl Addr[src]

pub const LOOPBACK: Self[src]

Loopback address

pub const UNSPECIFIED: Self[src]

Unspecified address

Trait Implementations

impl PartialEq<Addr> for Addr[src]

impl Eq for Addr[src]

impl Debug for Addr[src]

impl Display for Addr[src]

impl Copy for Addr[src]

impl Clone for Addr[src]

impl Hash for Addr[src]

Auto Trait Implementations

impl Unpin for Addr

impl Send for Addr

impl Sync for Addr

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self