pub struct EchConfig {
pub config: Vec<u8>,
pub retry_configs: Vec<u8>,
pub version: u16,
}Expand description
ECH configuration
Fields§
§config: Vec<u8>Raw ECH config bytes
retry_configs: Vec<u8>Retry configs for ECH retry
version: u16ECH version
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EchConfig
impl<'de> Deserialize<'de> for EchConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EchConfig
impl RefUnwindSafe for EchConfig
impl Send for EchConfig
impl Sync for EchConfig
impl Unpin for EchConfig
impl UnwindSafe for EchConfig
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