#[non_exhaustive]pub struct Selection {
pub versions: Vec<TlsVersion>,
pub cipher_suites: Vec<CipherSuite>,
pub kx_groups: Vec<KxGroup>,
pub signature_schemes: Vec<TlsSignatureScheme>,
pub key_algorithms: Vec<SignatureAlgorithm>,
pub excluded: Vec<Algorithm>,
}Expand description
A profile narrowed by its options, every entry implemented by the module’s backend, in the profile’s preference order.
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.versions: Vec<TlsVersion>Protocol versions.
cipher_suites: Vec<CipherSuite>Cipher suites, each of a version in versions.
kx_groups: Vec<KxGroup>Key-exchange groups.
signature_schemes: Vec<TlsSignatureScheme>Handshake signature schemes.
key_algorithms: Vec<SignatureAlgorithm>Key algorithms.
excluded: Vec<Algorithm>Entries unavailable on the module line after Options, in family and preference order.
Trait Implementations§
impl Eq for Selection
impl StructuralPartialEq for Selection
Auto Trait Implementations§
impl Forget for Selection
impl Freeze for Selection
impl Move for Selection
impl RefUnwindSafe for Selection
impl Send for Selection
impl Sync for Selection
impl Unpin for Selection
impl UnsafeUnpin for Selection
impl UnwindSafe for Selection
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