#[non_exhaustive]pub struct AdmittedSelection {
pub macs: Vec<MacAlgorithm>,
pub kdfs: Vec<KdfAlgorithm>,
pub key_agreements: Vec<KeyAgreementAlgorithm>,
pub aeads: Vec<AeadAlgorithm>,
pub hashes: Vec<HashAlgorithm>,
pub signatures: Vec<SignatureAlgorithm>,
pub excluded: Vec<Algorithm>,
}Expand description
A profile’s non-TLS families under its options, every entry implemented by the module’s backend, in preference order. Never refused: an empty family means every constructor of that family refuses under the profile.
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.macs: Vec<MacAlgorithm>Message authentication codes.
kdfs: Vec<KdfAlgorithm>Key-derivation functions.
key_agreements: Vec<KeyAgreementAlgorithm>Key agreement.
aeads: Vec<AeadAlgorithm>Authenticated encryption.
hashes: Vec<HashAlgorithm>Hash functions.
signatures: Vec<SignatureAlgorithm>Signature algorithms.
excluded: Vec<Algorithm>Entries unavailable on the module line, in family and preference order.
Trait Implementations§
Source§impl Clone for AdmittedSelection
impl Clone for AdmittedSelection
Source§impl Debug for AdmittedSelection
impl Debug for AdmittedSelection
impl Eq for AdmittedSelection
Source§impl PartialEq for AdmittedSelection
impl PartialEq for AdmittedSelection
impl StructuralPartialEq for AdmittedSelection
Auto Trait Implementations§
impl Freeze for AdmittedSelection
impl RefUnwindSafe for AdmittedSelection
impl Send for AdmittedSelection
impl Sync for AdmittedSelection
impl Unpin for AdmittedSelection
impl UnsafeUnpin for AdmittedSelection
impl UnwindSafe for AdmittedSelection
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