[−][src]Struct domain::rdata::rfc4034::RtypeBitmap
Implementations
impl<Octets> RtypeBitmap<Octets>
[src]
pub fn from_octets(octets: Octets) -> Result<Self, RtypeBitmapError> where
Octets: AsRef<[u8]>,
[src]
Octets: AsRef<[u8]>,
pub fn builder() -> RtypeBitmapBuilder<Octets::Builder> where
Octets: FromBuilder,
<Octets as FromBuilder>::Builder: EmptyBuilder,
[src]
Octets: FromBuilder,
<Octets as FromBuilder>::Builder: EmptyBuilder,
pub fn as_octets(&self) -> &Octets
[src]
impl<Octets: AsRef<[u8]>> RtypeBitmap<Octets>
[src]
pub fn as_slice(&self) -> &[u8] where
Octets: AsRef<[u8]>,
[src]
Octets: AsRef<[u8]>,
pub fn iter(&self) -> RtypeBitmapIter<'_>ⓘNotable traits for RtypeBitmapIter<'a>
impl<'a> Iterator for RtypeBitmapIter<'a> type Item = Rtype;
[src]
Notable traits for RtypeBitmapIter<'a>
impl<'a> Iterator for RtypeBitmapIter<'a> type Item = Rtype;
pub fn contains(&self, rtype: Rtype) -> bool where
Octets: AsRef<[u8]>,
[src]
Octets: AsRef<[u8]>,
Trait Implementations
impl<T, Octets: AsRef<T>> AsRef<T> for RtypeBitmap<Octets>
[src]
impl<O, OO> CanonicalOrd<RtypeBitmap<OO>> for RtypeBitmap<O> where
O: AsRef<[u8]>,
OO: AsRef<[u8]>,
[src]
O: AsRef<[u8]>,
OO: AsRef<[u8]>,
fn canonical_cmp(&self, other: &RtypeBitmap<OO>) -> 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<Octets: Clone> Clone for RtypeBitmap<Octets>
[src]
fn clone(&self) -> RtypeBitmap<Octets>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<Octets: AsRef<[u8]>> Compose for RtypeBitmap<Octets>
[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<Octets: AsRef<[u8]>> Debug for RtypeBitmap<Octets>
[src]
impl<Octets: AsRef<[u8]>> Display for RtypeBitmap<Octets>
[src]
impl<O: AsRef<[u8]>> Eq for RtypeBitmap<O>
[src]
impl<O: AsRef<[u8]>> Hash for RtypeBitmap<O>
[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<'a, Octets: AsRef<[u8]>> IntoIterator for &'a RtypeBitmap<Octets>
[src]
type Item = Rtype
The type of the elements being iterated over.
type IntoIter = RtypeBitmapIter<'a>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl<O: AsRef<[u8]>> Ord for RtypeBitmap<O>
[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 RtypeBitmap<Ref::Range>
[src]
fn parse(parser: &mut Parser<Ref>) -> Result<Self, ParseError>
[src]
fn skip(parser: &mut Parser<Ref>) -> Result<(), ParseError>
[src]
impl<O, OO> PartialEq<RtypeBitmap<OO>> for RtypeBitmap<O> where
O: AsRef<[u8]>,
OO: AsRef<[u8]>,
[src]
O: AsRef<[u8]>,
OO: AsRef<[u8]>,
fn eq(&self, other: &RtypeBitmap<OO>) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<O, OO> PartialOrd<RtypeBitmap<OO>> for RtypeBitmap<O> where
O: AsRef<[u8]>,
OO: AsRef<[u8]>,
[src]
O: AsRef<[u8]>,
OO: AsRef<[u8]>,
Auto Trait Implementations
impl<Octets> RefUnwindSafe for RtypeBitmap<Octets> where
Octets: RefUnwindSafe,
Octets: RefUnwindSafe,
impl<Octets> Send for RtypeBitmap<Octets> where
Octets: Send,
Octets: Send,
impl<Octets> Sync for RtypeBitmap<Octets> where
Octets: Sync,
Octets: Sync,
impl<Octets> Unpin for RtypeBitmap<Octets> where
Octets: Unpin,
Octets: Unpin,
impl<Octets> UnwindSafe for RtypeBitmap<Octets> where
Octets: UnwindSafe,
Octets: 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<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,