Struct domain::rdata::rfc1035::Ptr[][src]

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

PTR record data.

PRT records are used in special domains to point to some other location in the domain space.

The PTR record type is defined in RFC 1035, section 3.3.12.

Implementations

impl<N> Ptr<N>[src]

pub fn new(ptrdname: N) -> Self[src]

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

impl<N> Ptr<N>[src]

pub fn into_ptrdname(self) -> N[src]

Trait Implementations

impl<N: ToDname, NN: ToDname> CanonicalOrd<Ptr<NN>> for Ptr<N>[src]

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

impl<N: ToDname> Compose for Ptr<N>[src]

impl<N: Debug> Debug for Ptr<N>[src]

impl<N> Deref for Ptr<N>[src]

type Target = N

The resulting type after dereferencing.

impl<N: Display> Display for Ptr<N>[src]

impl<N: ToDname> Eq for Ptr<N>[src]

impl<N> From<N> for Ptr<N>[src]

impl<O, N> From<Ptr<N>> for MasterRecordData<O, N>[src]

impl<O, N> From<Ptr<N>> for AllRecordData<O, N>[src]

impl<N: FromStr> FromStr for Ptr<N>[src]

type Err = N::Err

The associated error which can be returned from parsing.

impl<N: Hash> Hash for Ptr<N>[src]

impl<Name, SrcName> OctetsFrom<Ptr<SrcName>> for Ptr<Name> where
    Name: OctetsFrom<SrcName>, 
[src]

impl<N: ToDname> Ord for Ptr<N>[src]

impl<Ref: OctetsRef> Parse<Ref> for Ptr<ParsedDname<Ref>>[src]

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

impl<N, NN> PartialOrd<Ptr<NN>> for Ptr<N> where
    N: ToDname,
    NN: ToDname
[src]

impl<N> RtypeRecordData for Ptr<N>[src]

impl<N: Scan> Scan for Ptr<N>[src]

Auto Trait Implementations

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

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

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

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

impl<N> UnwindSafe for Ptr<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<!> for T[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<Octets, T> ParseRecordData<Octets> for T where
    T: RtypeRecordData + Parse<Octets> + Compose
[src]

impl<T> RecordData for T where
    T: RtypeRecordData + Compose
[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.

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