#[non_exhaustive]pub struct TlsProfile {Show 24 fields
pub ciphers: Vec<String>,
pub curves: Vec<String>,
pub key_shares: Option<Vec<String>>,
pub sigalgs: Vec<String>,
pub delegated_credentials: Option<String>,
pub record_size_limit: Option<u16>,
pub alps: Option<String>,
pub alps_new_codepoint: bool,
pub ocsp_stapling: bool,
pub signed_cert_timestamps: bool,
pub cert_compression: Vec<String>,
pub permute_extensions: bool,
pub extension_permutation: Option<Vec<u16>>,
pub extension_tail: Vec<u16>,
pub grease: bool,
pub sigalg_grease: bool,
pub ech_grease: bool,
pub pre_shared_key: bool,
pub session_tickets: bool,
pub request_trust_anchors: bool,
pub fingerprint: Option<TlsFingerprint>,
pub padding: bool,
pub min_tls_version: Option<String>,
pub tls12_extensions: bool,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.ciphers: Vec<String>§curves: Vec<String>§sigalgs: Vec<String>§delegated_credentials: Option<String>§record_size_limit: Option<u16>§alps: Option<String>§alps_new_codepoint: bool§ocsp_stapling: bool§signed_cert_timestamps: bool§cert_compression: Vec<String>§permute_extensions: bool§extension_permutation: Option<Vec<u16>>§extension_tail: Vec<u16>§grease: bool§sigalg_grease: bool§ech_grease: bool§session_tickets: bool§request_trust_anchors: bool§fingerprint: Option<TlsFingerprint>§padding: bool§min_tls_version: Option<String>§tls12_extensions: boolTrait Implementations§
Source§impl Clone for TlsProfile
impl Clone for TlsProfile
Source§impl Debug for TlsProfile
impl Debug for TlsProfile
Source§impl<'de> Deserialize<'de> for TlsProfile
impl<'de> Deserialize<'de> for TlsProfile
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 TlsProfile
impl RefUnwindSafe for TlsProfile
impl Send for TlsProfile
impl Sync for TlsProfile
impl Unpin for TlsProfile
impl UnsafeUnpin for TlsProfile
impl UnwindSafe for TlsProfile
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more