[][src]Struct cidr::Ipv4Inet

pub struct Ipv4Inet { /* fields omitted */ }

Inet type representing an IPv4 host within a network

Derived ordering, i.e. first sort by address, then by network length.

Trait Implementations

impl BitString for Ipv4Inet[src]

impl Clone for Ipv4Inet[src]

impl Debug for Ipv4Inet[src]

impl<'de> Deserialize<'de> for Ipv4Inet[src]

impl Display for Ipv4Inet[src]

impl Eq for Ipv4Inet[src]

impl From<Ipv4Inet> for IpInet[src]

impl FromStr for Ipv4Inet[src]

type Err = NetworkParseError

The associated error which can be returned from parsing.

impl Hash for Ipv4Inet[src]

impl Inet for Ipv4Inet[src]

type Address = Ipv4Addr

Type for the underlying address (IpAddr, Ipv4Addr or Ipv6Addr). Read more

type Cidr = Ipv4Cidr

Corresponding Cidr type (representing only the network)

impl Ord for Ipv4Inet[src]

impl PartialEq<Ipv4Inet> for Ipv4Inet[src]

impl PartialOrd<Ipv4Inet> for Ipv4Inet[src]

impl Serialize for Ipv4Inet[src]

impl StructuralEq for Ipv4Inet[src]

impl StructuralPartialEq for Ipv4Inet[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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> 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.