Struct boring::ssl::ExtensionType

source ·
pub struct ExtensionType(/* private fields */);
Expand description

Extension types, to be used with ClientHello::get_extension.

Implementations§

source§

impl ExtensionType

source

pub const SERVER_NAME: Self = _

source

pub const STATUS_REQUEST: Self = _

source

pub const EC_POINT_FORMATS: Self = _

source

pub const SIGNATURE_ALGORITHMS: Self = _

source

pub const SRTP: Self = _

source

pub const APPLICATION_LAYER_PROTOCOL_NEGOTIATION: Self = _

source

pub const PADDING: Self = _

source

pub const EXTENDED_MASTER_SECRET: Self = _

source

pub const QUIC_TRANSPORT_PARAMETERS_LEGACY: Self = _

source

pub const QUIC_TRANSPORT_PARAMETERS_STANDARD: Self = _

source

pub const CERT_COMPRESSION: Self = _

source

pub const SESSION_TICKET: Self = _

source

pub const SUPPORTED_GROUPS: Self = _

source

pub const PRE_SHARED_KEY: Self = _

source

pub const EARLY_DATA: Self = _

source

pub const SUPPORTED_VERSIONS: Self = _

source

pub const COOKIE: Self = _

source

pub const PSK_KEY_EXCHANGE_MODES: Self = _

source

pub const CERTIFICATE_AUTHORITIES: Self = _

source

pub const SIGNATURE_ALGORITHMS_CERT: Self = _

source

pub const KEY_SHARE: Self = _

source

pub const RENEGOTIATE: Self = _

source

pub const DELEGATED_CREDENTIAL: Self = _

source

pub const APPLICATION_SETTINGS: Self = _

source

pub const ENCRYPTED_CLIENT_HELLO: Self = _

source

pub const CERTIFICATE_TIMESTAMP: Self = _

source

pub const NEXT_PROTO_NEG: Self = _

source

pub const CHANNEL_ID: Self = _

Trait Implementations§

source§

impl Clone for ExtensionType

source§

fn clone(&self) -> ExtensionType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ExtensionType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<u16> for ExtensionType

source§

fn from(value: u16) -> Self

Converts to this type from the input type.
source§

impl PartialEq for ExtensionType

source§

fn eq(&self, other: &ExtensionType) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for ExtensionType

source§

impl Eq for ExtensionType

source§

impl StructuralPartialEq for ExtensionType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.