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 duplicate of the value. Read more
1.0.0§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§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)