[−][src]Struct domain::rdata::rfc1035::Ptr
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]
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]
fn canonical_cmp(&self, other: &Ptr<NN>) -> Ordering
[src]
#[must_use]fn canonical_lt(&self, other: &Rhs) -> bool
[src]
#[must_use]fn canonical_le(&self, other: &Rhs) -> bool
[src]
#[must_use]fn canonical_gt(&self, other: &Rhs) -> bool
[src]
#[must_use]fn canonical_ge(&self, other: &Rhs) -> bool
[src]
impl<N: Clone> Clone for Ptr<N>
[src]
impl<N: ToDname> Compose for Ptr<N>
[src]
fn compose<T: OctetsBuilder>(&self, target: &mut T) -> Result<(), ShortBuf>
[src]
fn compose_canonical<T: OctetsBuilder>(
&self,
target: &mut T
) -> Result<(), ShortBuf>
[src]
&self,
target: &mut T
) -> Result<(), ShortBuf>
impl<N: Debug> Debug for Ptr<N>
[src]
impl<N> Deref for Ptr<N>
[src]
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.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
impl<N: Hash> Hash for Ptr<N>
[src]
fn hash<H: Hasher>(&self, state: &mut H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<N: ToDname> Ord for Ptr<N>
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<Ref: OctetsRef> Parse<Ref> for Ptr<ParsedDname<Ref>>
[src]
fn parse(parser: &mut Parser<Ref>) -> Result<Self, ParseError>
[src]
fn skip(parser: &mut Parser<Ref>) -> Result<(), ParseError>
[src]
impl<N, NN> PartialEq<Ptr<NN>> for Ptr<N> where
N: ToDname,
NN: ToDname,
[src]
N: ToDname,
NN: ToDname,
impl<N, NN> PartialOrd<Ptr<NN>> for Ptr<N> where
N: ToDname,
NN: ToDname,
[src]
N: ToDname,
NN: ToDname,
fn partial_cmp(&self, other: &Ptr<NN>) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<N> RtypeRecordData for Ptr<N>
[src]
Auto Trait Implementations
impl<N> RefUnwindSafe for Ptr<N> where
N: RefUnwindSafe,
N: RefUnwindSafe,
impl<N> Send for Ptr<N> where
N: Send,
N: Send,
impl<N> Sync for Ptr<N> where
N: Sync,
N: Sync,
impl<N> Unpin for Ptr<N> where
N: Unpin,
N: Unpin,
impl<N> UnwindSafe for Ptr<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,
fn borrow_mut(&mut self) -> &mut T
[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]
U: From<T>,
impl<Octets, T> ParseRecordData<Octets> for T where
T: RtypeRecordData + Parse<Octets> + Compose,
[src]
T: RtypeRecordData + Parse<Octets> + Compose,
fn parse_data(Rtype, &mut Parser<Octets>) -> Result<Option<T>, ParseError>
[src]
impl<T> RecordData for T where
T: Compose + RtypeRecordData,
[src]
T: Compose + RtypeRecordData,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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.
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.
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>,