pub struct N3u<Octets> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<Octets> CodeOptData for N3u<Octets>
impl<Octets> CodeOptData for N3u<Octets>
source§const CODE: OptionCode = OptionCode::N3u
const CODE: OptionCode = OptionCode::N3u
The option code for this option.
source§impl<Octets: AsRef<[u8]>> Compose for N3u<Octets>
impl<Octets: AsRef<[u8]>> Compose for N3u<Octets>
source§impl<Octets> From<N3u<Octets>> for AllOptData<Octets>
impl<Octets> From<N3u<Octets>> for AllOptData<Octets>
source§impl<Octets: Ord> Ord for N3u<Octets>
impl<Octets: Ord> Ord for N3u<Octets>
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<Octets: PartialEq> PartialEq<N3u<Octets>> for N3u<Octets>
impl<Octets: PartialEq> PartialEq<N3u<Octets>> for N3u<Octets>
source§impl<Octets: PartialOrd> PartialOrd<N3u<Octets>> for N3u<Octets>
impl<Octets: PartialOrd> PartialOrd<N3u<Octets>> for N3u<Octets>
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<Octets: Eq> Eq for N3u<Octets>
impl<Octets> StructuralEq for N3u<Octets>
impl<Octets> StructuralPartialEq for N3u<Octets>
Auto Trait Implementations§
impl<Octets> RefUnwindSafe for N3u<Octets>where Octets: RefUnwindSafe,
impl<Octets> Send for N3u<Octets>where Octets: Send,
impl<Octets> Sync for N3u<Octets>where Octets: Sync,
impl<Octets> Unpin for N3u<Octets>where Octets: Unpin,
impl<Octets> UnwindSafe for N3u<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.
source§impl<T> OptData for Twhere
T: CodeOptData + Compose,
impl<T> OptData for Twhere T: CodeOptData + Compose,
source§fn code(&self) -> OptionCode
fn code(&self) -> OptionCode
Returns the option code associated with this option.
source§impl<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,
source§fn 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