Struct EchConfigListBytes
pub struct EchConfigListBytes<'a>(/* private field */);
A TLS-encoded Encrypted Client Hello (ECH) configuration list (ECHConfigList); as specified in
RFC 9849 ยง4
Implementations
impl EchConfigListBytes<'_>
fn into_owned(self) -> EchConfigListBytes<'static>Converts this config into its owned variant, unfreezing borrowed content (if any)
impl EchConfigListBytes<'static>
fn config_and_key_from_iter(iter: impl Iterator<Item = Result<(SectionKind, Vec<u8>), Error>>) -> Result<(Self, PrivatePkcs8KeyDer<'static>), Error>Convert an iterator over PEM items into an
EchConfigListBytesand private key.This handles the "ECHConfig file" format specified in https://www.ietf.org/archive/id/draft-farrell-tls-pemesni-05.html#name-echconfig-file
Use it like:
#
Trait Implementations
impl AsRef<[u8]> for EchConfigListBytes<'_>
fn as_ref(&self) -> &[u8]
impl Debug for EchConfigListBytes<'_>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Deref for EchConfigListBytes<'_>
type Target = [u8];fn deref(&self) -> &Self::Target
impl From<Vec<u8>> for EchConfigListBytes<'_>
fn from(vec: Vec<u8>) -> Self
impl<'a> Clone for EchConfigListBytes<'a>
fn clone(&self) -> EchConfigListBytes<'a>
impl<'a> Eq for EchConfigListBytes<'a>
impl<'a> From<&'a [u8]> for EchConfigListBytes<'a>
fn from(slice: &'a [u8]) -> Self
impl<'a> Hash for EchConfigListBytes<'a>
fn hash<__H: Hasher>(&self, state: &mut __H)
impl<'a> PartialEq for EchConfigListBytes<'a>
fn eq(&self, other: &EchConfigListBytes<'a>) -> bool
impl<'a> StructuralPartialEq for EchConfigListBytes<'a>
Auto Trait Implementations
impl<'a> Freeze for EchConfigListBytes<'a>
impl<'a> RefUnwindSafe for EchConfigListBytes<'a>
impl<'a> Send for EchConfigListBytes<'a>
impl<'a> Sync for EchConfigListBytes<'a>
impl<'a> Unpin for EchConfigListBytes<'a>
impl<'a> UnsafeUnpin for EchConfigListBytes<'a>
impl<'a> UnwindSafe for EchConfigListBytes<'a>
Blanket Implementations
impl<P, T> Receiver for EchConfigListBytes<'a>
where
P: Deref<Target = T> + ?Sized,
T: ?Sized,
type Target = T;
impl<T> Any for EchConfigListBytes<'a>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for EchConfigListBytes<'a>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for EchConfigListBytes<'a>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for EchConfigListBytes<'a>
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for EchConfigListBytes<'a>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> PemObject for EchConfigListBytes<'a>
where
T: PemObjectFilter + From<Vec<u8>>,
fn from_pem(kind: SectionKind, der: Vec<u8>) -> Option<T>
impl<T> ToOwned for EchConfigListBytes<'a>
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for EchConfigListBytes<'a>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for EchConfigListBytes<'a>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for EchConfigListBytes<'a>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>