[][src]Struct domain::base::opt::rfc8145::KeyTag

pub struct KeyTag<Octets> { /* fields omitted */ }

Implementations

impl<Octets> KeyTag<Octets>[src]

pub fn new(octets: Octets) -> Self[src]

pub fn push<Target: OctetsBuilder>(
    builder: &mut OptBuilder<Target>,
    tags: &[u16]
) -> Result<(), ShortBuf>
[src]

pub fn iter(&self) -> KeyTagIter where
    Octets: AsRef<[u8]>, 
[src]

Trait Implementations

impl<Octets: Clone> Clone for KeyTag<Octets>[src]

impl<Octets> CodeOptData for KeyTag<Octets>[src]

impl<Octets: AsRef<[u8]>> Compose for KeyTag<Octets>[src]

impl<Octets: Debug> Debug for KeyTag<Octets>[src]

impl<Octets: Eq> Eq for KeyTag<Octets>[src]

impl<Octets> From<KeyTag<Octets>> for AllOptData<Octets>[src]

impl<Octets: Hash> Hash for KeyTag<Octets>[src]

impl<'a, Octets: AsRef<[u8]>> IntoIterator for &'a KeyTag<Octets>[src]

type Item = u16

The type of the elements being iterated over.

type IntoIter = KeyTagIter<'a>

Which kind of iterator are we turning this into?

impl<Ref: OctetsRef> Parse<Ref> for KeyTag<Ref::Range>[src]

impl<Octets: PartialEq> PartialEq<KeyTag<Octets>> for KeyTag<Octets>[src]

impl<Octets> StructuralEq for KeyTag<Octets>[src]

impl<Octets> StructuralPartialEq for KeyTag<Octets>[src]

Auto Trait Implementations

impl<Octets> RefUnwindSafe for KeyTag<Octets> where
    Octets: RefUnwindSafe

impl<Octets> Send for KeyTag<Octets> where
    Octets: Send

impl<Octets> Sync for KeyTag<Octets> where
    Octets: Sync

impl<Octets> Unpin for KeyTag<Octets> where
    Octets: Unpin

impl<Octets> UnwindSafe for KeyTag<Octets> where
    Octets: 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<T> OptData for T where
    T: Compose + CodeOptData
[src]

impl<Octets, T> ParseOptData<Octets> for T where
    T: CodeOptData + Parse<Octets> + Compose
[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>,