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