Struct domain::sign::records::FamilyName[][src]

pub struct FamilyName<N> { /* fields omitted */ }

The identifier for a family, i.e., a owner name and class.

Implementations

impl<N> FamilyName<N>[src]

pub fn owner(&self) -> &N[src]

pub fn class(&self) -> Class[src]

pub fn into_record<D>(self, ttl: u32, data: D) -> Record<N, D> where
    N: Clone
[src]

pub fn dnskey<K: SigningKey, Octets: From<K::Octets>>(
    &self,
    ttl: u32,
    key: K
) -> Result<Record<N, Dnskey<Octets>>, K::Error> where
    N: Clone
[src]

pub fn ds<K: SigningKey>(
    &self,
    ttl: u32,
    key: K
) -> Result<Record<N, Ds<K::Octets>>, K::Error> where
    N: ToDname + Clone
[src]

impl<'a, N: Clone> FamilyName<&'a N>[src]

pub fn cloned(&self) -> FamilyName<N>[src]

Trait Implementations

impl<N: Clone> Clone for FamilyName<N>[src]

impl<N: ToDname, NN: ToDname> PartialEq<FamilyName<NN>> for FamilyName<N>[src]

impl<N: ToDname, NN: ToDname, D> PartialEq<Record<NN, D>> for FamilyName<N>[src]

Auto Trait Implementations

impl<N> RefUnwindSafe for FamilyName<N> where
    N: RefUnwindSafe

impl<N> Send for FamilyName<N> where
    N: Send

impl<N> Sync for FamilyName<N> where
    N: Sync

impl<N> Unpin for FamilyName<N> where
    N: Unpin

impl<N> UnwindSafe for FamilyName<N> where
    N: UnwindSafe

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> From<T> for T[src]

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

impl<Source, Target> OctetsInto<Target> for Source where
    Target: OctetsFrom<Source>, 
[src]

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

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,