pub struct Srv<N> { /* private fields */ }
Implementations§
source§impl<Ref> Srv<ParsedDname<Ref>>where
Ref: OctetsRef,
impl<Ref> Srv<ParsedDname<Ref>>where Ref: OctetsRef,
pub fn flatten_into<Octets>(self) -> Result<Srv<Dname<Octets>>, PushError>where Octets: OctetsFrom<Ref::Range> + FromBuilder, <Octets as FromBuilder>::Builder: EmptyBuilder,
Trait Implementations§
source§impl<N: ToDname, NN: ToDname> CanonicalOrd<Srv<NN>> for Srv<N>
impl<N: ToDname, NN: ToDname> CanonicalOrd<Srv<NN>> for Srv<N>
source§fn canonical_cmp(&self, other: &Srv<NN>) -> Ordering
fn canonical_cmp(&self, other: &Srv<NN>) -> Ordering
Returns the canonical ordering between
self
and other
.source§fn canonical_lt(&self, other: &Rhs) -> bool
fn canonical_lt(&self, other: &Rhs) -> bool
Returns whether
self
is canonically less than other
.source§fn canonical_le(&self, other: &Rhs) -> bool
fn canonical_le(&self, other: &Rhs) -> bool
Returns whether
self
is canonically less than or equal to other
.source§fn canonical_gt(&self, other: &Rhs) -> bool
fn canonical_gt(&self, other: &Rhs) -> bool
Returns whether
self
is canonically greater than other
.source§fn canonical_ge(&self, other: &Rhs) -> bool
fn canonical_ge(&self, other: &Rhs) -> bool
Returns whether
self
is canonically greater than or equal to other
.source§impl<N: Compose> Compose for Srv<N>
impl<N: Compose> Compose for Srv<N>
source§impl<O, N> From<Srv<N>> for AllRecordData<O, N>
impl<O, N> From<Srv<N>> for AllRecordData<O, N>
source§impl<O, N> From<Srv<N>> for ZoneRecordData<O, N>
impl<O, N> From<Srv<N>> for ZoneRecordData<O, N>
source§impl<Name, SrcName> OctetsFrom<Srv<SrcName>> for Srv<Name>where
Name: OctetsFrom<SrcName>,
impl<Name, SrcName> OctetsFrom<Srv<SrcName>> for Srv<Name>where Name: OctetsFrom<SrcName>,
source§impl<N: ToDname> Ord for Srv<N>
impl<N: ToDname> Ord for Srv<N>
source§impl<N, NN> PartialEq<Srv<NN>> for Srv<N>where
N: ToDname,
NN: ToDname,
impl<N, NN> PartialEq<Srv<NN>> for Srv<N>where N: ToDname, NN: ToDname,
source§impl<N, NN> PartialOrd<Srv<NN>> for Srv<N>where
N: ToDname,
NN: ToDname,
impl<N, NN> PartialOrd<Srv<NN>> for Srv<N>where N: ToDname, NN: ToDname,
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl<N> RtypeRecordData for Srv<N>
impl<N> RtypeRecordData for Srv<N>
impl<N: ToDname> Eq for Srv<N>
Auto Trait Implementations§
impl<N> RefUnwindSafe for Srv<N>where N: RefUnwindSafe,
impl<N> Send for Srv<N>where N: Send,
impl<N> Sync for Srv<N>where N: Sync,
impl<N> Unpin for Srv<N>where N: Unpin,
impl<N> UnwindSafe for Srv<N>where N: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere Target: OctetsFrom<Source>,
source§fn octets_into(self) -> Result<Target, ShortBuf>
fn octets_into(self) -> Result<Target, ShortBuf>
Performs the conversion.
source§impl<Octets, T> ParseRecordData<Octets> for Twhere
T: RtypeRecordData + Parse<Octets> + Compose,
impl<Octets, T> ParseRecordData<Octets> for Twhere T: RtypeRecordData + Parse<Octets> + Compose,
source§fn parse_data(
rtype: Rtype,
parser: &mut Parser<Octets>
) -> Result<Option<T>, ParseError>
fn parse_data( rtype: Rtype, parser: &mut Parser<Octets> ) -> Result<Option<T>, ParseError>
Parses the record data. Read more