[][src]Enum krill::commons::api::TypedPrefix

pub enum TypedPrefix {
    V4(Ipv4Prefix),
    V6(Ipv6Prefix),
}

Variants

Implementations

impl TypedPrefix[src]

pub fn prefix(&self) -> &Prefix[src]

pub fn ip_addr(&self) -> IpAddr[src]

pub fn matching_or_less_specific(&self, other: &TypedPrefix) -> bool[src]

Methods from Deref<Target = Prefix>

Trait Implementations

impl AsRef<Prefix> for TypedPrefix[src]

impl AsRef<TypedPrefix> for RoaDefinition[src]

impl AsRef<TypedPrefix> for Announcement[src]

impl AsRef<TypedPrefix> for ValidatedAnnouncement[src]

impl Clone for TypedPrefix[src]

impl Copy for TypedPrefix[src]

impl Debug for TypedPrefix[src]

impl Deref for TypedPrefix[src]

type Target = Prefix

The resulting type after dereferencing.

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

impl Display for TypedPrefix[src]

impl Eq for TypedPrefix[src]

impl<'_> From<&'_ TypedPrefix> for IpRange[src]

impl From<TypedPrefix> for ResourceSet[src]

impl FromStr for TypedPrefix[src]

type Err = AuthorizationFmtError

The associated error which can be returned from parsing.

impl Hash for TypedPrefix[src]

impl Ord for TypedPrefix[src]

impl PartialEq<TypedPrefix> for TypedPrefix[src]

impl PartialOrd<TypedPrefix> for TypedPrefix[src]

impl Serialize for TypedPrefix[src]

impl StructuralEq for TypedPrefix[src]

impl StructuralPartialEq for TypedPrefix[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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[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.