pub struct Dau<Octets> { /* private fields */ }
Implementations
sourceimpl<Octets> Dau<Octets>
impl<Octets> Dau<Octets>
pub fn from_octets(octets: Octets) -> Self
pub fn iter(&self) -> SecAlgsIter<'_>ⓘNotable traits for SecAlgsIter<'a>impl<'a> Iterator for SecAlgsIter<'a> type Item = SecAlg;
where
Octets: AsRef<[u8]>,
Trait Implementations
sourceimpl<Octets> CodeOptData for Dau<Octets>
impl<Octets> CodeOptData for Dau<Octets>
sourceconst CODE: OptionCode = OptionCode::Dau
const CODE: OptionCode = OptionCode::Dau
The option code for this option.
sourceimpl<Octets: AsRef<[u8]>> Compose for Dau<Octets>
impl<Octets: AsRef<[u8]>> Compose for Dau<Octets>
sourcefn compose<T: OctetsBuilder + AsMut<[u8]>>(
&self,
target: &mut T
) -> Result<(), ShortBuf>
fn compose<T: OctetsBuilder + AsMut<[u8]>>(
&self,
target: &mut T
) -> Result<(), ShortBuf>
Appends the concrete representation of the value to the target. Read more
sourcefn compose_canonical<T: OctetsBuilder + AsMut<[u8]>>(
&self,
target: &mut T
) -> Result<(), ShortBuf>
fn compose_canonical<T: OctetsBuilder + AsMut<[u8]>>(
&self,
target: &mut T
) -> Result<(), ShortBuf>
Appends the canonical representation of the value to the target. Read more
sourceimpl<Octets> From<Dau<Octets>> for AllOptData<Octets>
impl<Octets> From<Dau<Octets>> for AllOptData<Octets>
sourceimpl<'a, Octets: AsRef<[u8]>> IntoIterator for &'a Dau<Octets>
impl<'a, Octets: AsRef<[u8]>> IntoIterator for &'a Dau<Octets>
sourceimpl<Octets: Ord> Ord for Dau<Octets>
impl<Octets: Ord> Ord for Dau<Octets>
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl<Octets: PartialEq> PartialEq<Dau<Octets>> for Dau<Octets>
impl<Octets: PartialEq> PartialEq<Dau<Octets>> for Dau<Octets>
sourceimpl<Octets: PartialOrd> PartialOrd<Dau<Octets>> for Dau<Octets>
impl<Octets: PartialOrd> PartialOrd<Dau<Octets>> for Dau<Octets>
sourcefn partial_cmp(&self, other: &Dau<Octets>) -> Option<Ordering>
fn partial_cmp(&self, other: &Dau<Octets>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl<Octets: Eq> Eq for Dau<Octets>
impl<Octets> StructuralEq for Dau<Octets>
impl<Octets> StructuralPartialEq for Dau<Octets>
Auto Trait Implementations
impl<Octets> RefUnwindSafe for Dau<Octets>where
Octets: RefUnwindSafe,
impl<Octets> Send for Dau<Octets>where
Octets: Send,
impl<Octets> Sync for Dau<Octets>where
Octets: Sync,
impl<Octets> Unpin for Dau<Octets>where
Octets: Unpin,
impl<Octets> UnwindSafe for Dau<Octets>where
Octets: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
sourcefn octets_into(self) -> Result<Target, ShortBuf>
fn octets_into(self) -> Result<Target, ShortBuf>
Performs the conversion.
sourceimpl<T> OptData for Twhere
T: CodeOptData + Compose,
impl<T> OptData for Twhere
T: CodeOptData + Compose,
sourcefn code(&self) -> OptionCode
fn code(&self) -> OptionCode
Returns the option code associated with this option.
sourceimpl<Octets, T> ParseOptData<Octets> for Twhere
Octets: AsRef<[u8]>,
T: CodeOptData + Parse<Octets> + Compose,
impl<Octets, T> ParseOptData<Octets> for Twhere
Octets: AsRef<[u8]>,
T: CodeOptData + Parse<Octets> + Compose,
sourcefn parse_option(
code: OptionCode,
parser: &mut Parser<Octets>
) -> Result<Option<T>, ParseError>
fn parse_option(
code: OptionCode,
parser: &mut Parser<Octets>
) -> Result<Option<T>, ParseError>
Parses the option code data. Read more