pub struct ExtensionType(/* private fields */);Expand description
Extension types, to be used with ClientHello::get_extension.
WARNING: The current implementation of From is unsound, as it’s possible to create an
ExtensionType that is not defined by the impl. From will be deprecated in favor of TryFrom
in the next major bump of the library.
Implementations§
Source§impl ExtensionType
impl ExtensionType
pub const SERVER_NAME: ExtensionType = _
pub const STATUS_REQUEST: ExtensionType = _
pub const EC_POINT_FORMATS: ExtensionType = _
pub const SIGNATURE_ALGORITHMS: ExtensionType = _
pub const SRTP: ExtensionType = _
pub const APPLICATION_LAYER_PROTOCOL_NEGOTIATION: ExtensionType = _
pub const PADDING: ExtensionType = _
pub const EXTENDED_MASTER_SECRET: ExtensionType = _
pub const QUIC_TRANSPORT_PARAMETERS_LEGACY: ExtensionType = _
pub const QUIC_TRANSPORT_PARAMETERS_STANDARD: ExtensionType = _
pub const CERT_COMPRESSION: ExtensionType = _
pub const SESSION_TICKET: ExtensionType = _
pub const SUPPORTED_GROUPS: ExtensionType = _
pub const PRE_SHARED_KEY: ExtensionType = _
pub const EARLY_DATA: ExtensionType = _
pub const SUPPORTED_VERSIONS: ExtensionType = _
pub const COOKIE: ExtensionType = _
pub const PSK_KEY_EXCHANGE_MODES: ExtensionType = _
pub const CERTIFICATE_AUTHORITIES: ExtensionType = _
pub const SIGNATURE_ALGORITHMS_CERT: ExtensionType = _
pub const KEY_SHARE: ExtensionType = _
pub const RENEGOTIATE: ExtensionType = _
pub const DELEGATED_CREDENTIAL: ExtensionType = _
pub const APPLICATION_SETTINGS: ExtensionType = _
pub const ENCRYPTED_CLIENT_HELLO: ExtensionType = _
pub const CERTIFICATE_TIMESTAMP: ExtensionType = _
pub const NEXT_PROTO_NEG: ExtensionType = _
pub const CHANNEL_ID: ExtensionType = _
Trait Implementations§
Source§impl Clone for ExtensionType
impl Clone for ExtensionType
Source§fn clone(&self) -> ExtensionType
fn clone(&self) -> ExtensionType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExtensionType
impl Debug for ExtensionType
Source§impl From<u16> for ExtensionType
impl From<u16> for ExtensionType
Source§fn from(value: u16) -> ExtensionType
fn from(value: u16) -> ExtensionType
Converts to this type from the input type.
Source§impl PartialEq for ExtensionType
impl PartialEq for ExtensionType
impl Copy for ExtensionType
impl Eq for ExtensionType
impl StructuralPartialEq for ExtensionType
Auto Trait Implementations§
impl Freeze for ExtensionType
impl RefUnwindSafe for ExtensionType
impl Send for ExtensionType
impl Sync for ExtensionType
impl Unpin for ExtensionType
impl UnwindSafe for ExtensionType
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.