Struct domain::sign::records::FamilyName [−][src]
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]
N: Clone,
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]
&self,
ttl: u32,
key: K
) -> Result<Record<N, Dnskey<Octets>>, K::Error> where
N: Clone,
pub fn ds<K: SigningKey>(
&self,
ttl: u32,
key: K
) -> Result<Record<N, Ds<K::Octets>>, K::Error> where
N: ToDname + Clone,
[src]
&self,
ttl: u32,
key: K
) -> Result<Record<N, Ds<K::Octets>>, K::Error> where
N: ToDname + Clone,
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]
fn clone(&self) -> FamilyName<N>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<N: ToDname, NN: ToDname> PartialEq<FamilyName<NN>> for FamilyName<N>
[src]
fn eq(&self, other: &FamilyName<NN>) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[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,
N: RefUnwindSafe,
impl<N> Send for FamilyName<N> where
N: Send,
N: Send,
impl<N> Sync for FamilyName<N> where
N: Sync,
N: Sync,
impl<N> Unpin for FamilyName<N> where
N: Unpin,
N: Unpin,
impl<N> UnwindSafe for FamilyName<N> where
N: UnwindSafe,
N: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<Source, Target> OctetsInto<Target> for Source where
Target: OctetsFrom<Source>,
[src]
Target: OctetsFrom<Source>,
pub fn octets_into(Self) -> Result<Target, ShortBuf>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,