pub struct Mandatory<Octets>(_);
Expand description
A SVCB parameter.
Implementations§
source§impl<OB: OctetsBuilder> Mandatory<OB>
impl<OB: OctetsBuilder> Mandatory<OB>
Trait Implementations§
source§impl<O: AsRef<[u8]>> Compose for Mandatory<O>
impl<O: AsRef<[u8]>> Compose for Mandatory<O>
source§impl<O, OO> OctetsFrom<Mandatory<O>> for Mandatory<OO>where
OO: OctetsFrom<O>,
impl<O, OO> OctetsFrom<Mandatory<O>> for Mandatory<OO>where OO: OctetsFrom<O>,
source§impl<Octets: PartialEq> PartialEq<Mandatory<Octets>> for Mandatory<Octets>
impl<Octets: PartialEq> PartialEq<Mandatory<Octets>> for Mandatory<Octets>
impl<Octets: Eq> Eq for Mandatory<Octets>
impl<Octets> StructuralEq for Mandatory<Octets>
impl<Octets> StructuralPartialEq for Mandatory<Octets>
Auto Trait Implementations§
impl<Octets> RefUnwindSafe for Mandatory<Octets>where Octets: RefUnwindSafe,
impl<Octets> Send for Mandatory<Octets>where Octets: Send,
impl<Octets> Sync for Mandatory<Octets>where Octets: Sync,
impl<Octets> Unpin for Mandatory<Octets>where Octets: Unpin,
impl<Octets> UnwindSafe for Mandatory<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.