Struct domain::rdata::rfc4034::RtypeBitmap
source · pub struct RtypeBitmap<Octets>(_);
Implementations§
source§impl<Octets> RtypeBitmap<Octets>
impl<Octets> RtypeBitmap<Octets>
pub fn from_octets(octets: Octets) -> Result<Self, RtypeBitmapError>where Octets: AsRef<[u8]>,
pub fn builder() -> RtypeBitmapBuilder<Octets::Builder>where Octets: FromBuilder, <Octets as FromBuilder>::Builder: EmptyBuilder,
pub fn as_octets(&self) -> &Octets
Trait Implementations§
source§impl<T, Octets: AsRef<T>> AsRef<T> for RtypeBitmap<Octets>
impl<T, Octets: AsRef<T>> AsRef<T> for RtypeBitmap<Octets>
source§impl<O, OO> CanonicalOrd<RtypeBitmap<OO>> for RtypeBitmap<O>where
O: AsRef<[u8]>,
OO: AsRef<[u8]>,
impl<O, OO> CanonicalOrd<RtypeBitmap<OO>> for RtypeBitmap<O>where O: AsRef<[u8]>, OO: AsRef<[u8]>,
source§fn canonical_cmp(&self, other: &RtypeBitmap<OO>) -> Ordering
fn canonical_cmp(&self, other: &RtypeBitmap<OO>) -> 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<Octets: Clone> Clone for RtypeBitmap<Octets>
impl<Octets: Clone> Clone for RtypeBitmap<Octets>
source§fn clone(&self) -> RtypeBitmap<Octets>
fn clone(&self) -> RtypeBitmap<Octets>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<Octets: AsRef<[u8]>> Compose for RtypeBitmap<Octets>
impl<Octets: AsRef<[u8]>> Compose for RtypeBitmap<Octets>
source§impl<'a, Octets: AsRef<[u8]>> IntoIterator for &'a RtypeBitmap<Octets>
impl<'a, Octets: AsRef<[u8]>> IntoIterator for &'a RtypeBitmap<Octets>
source§impl<Octets, SrcOctets> OctetsFrom<RtypeBitmap<SrcOctets>> for RtypeBitmap<Octets>where
Octets: OctetsFrom<SrcOctets>,
impl<Octets, SrcOctets> OctetsFrom<RtypeBitmap<SrcOctets>> for RtypeBitmap<Octets>where Octets: OctetsFrom<SrcOctets>,
source§fn octets_from(source: RtypeBitmap<SrcOctets>) -> Result<Self, ShortBuf>
fn octets_from(source: RtypeBitmap<SrcOctets>) -> Result<Self, ShortBuf>
Performs the conversion.
source§impl<O: AsRef<[u8]>> Ord for RtypeBitmap<O>
impl<O: AsRef<[u8]>> Ord for RtypeBitmap<O>
source§impl<O, OO> PartialEq<RtypeBitmap<OO>> for RtypeBitmap<O>where
O: AsRef<[u8]>,
OO: AsRef<[u8]>,
impl<O, OO> PartialEq<RtypeBitmap<OO>> for RtypeBitmap<O>where O: AsRef<[u8]>, OO: AsRef<[u8]>,
source§fn eq(&self, other: &RtypeBitmap<OO>) -> bool
fn eq(&self, other: &RtypeBitmap<OO>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<O, OO> PartialOrd<RtypeBitmap<OO>> for RtypeBitmap<O>where
O: AsRef<[u8]>,
OO: AsRef<[u8]>,
impl<O, OO> PartialOrd<RtypeBitmap<OO>> for RtypeBitmap<O>where O: AsRef<[u8]>, OO: AsRef<[u8]>,
source§fn partial_cmp(&self, other: &RtypeBitmap<OO>) -> Option<Ordering>
fn partial_cmp(&self, other: &RtypeBitmap<OO>) -> Option<Ordering>
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 moreimpl<O: AsRef<[u8]>> Eq for RtypeBitmap<O>
Auto Trait Implementations§
impl<Octets> RefUnwindSafe for RtypeBitmap<Octets>where Octets: RefUnwindSafe,
impl<Octets> Send for RtypeBitmap<Octets>where Octets: Send,
impl<Octets> Sync for RtypeBitmap<Octets>where Octets: Sync,
impl<Octets> Unpin for RtypeBitmap<Octets>where Octets: Unpin,
impl<Octets> UnwindSafe for RtypeBitmap<Octets>where Octets: 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.