pub struct VersionRules {
pub support: Level,
pub cipher_suites: Allowed<CipherSuite>,
pub groups: Allowed<NamedGroup>,
pub signature_schemes: Allowed<SignatureScheme>,
pub cert_signature_schemes: Allowed<SignatureScheme>,
}Expand description
The rules for one TLS version.
Fields§
§support: LevelWhether this version must be supported (Level::Must) or may be (Level::Should,
Level::May).
cipher_suites: Allowed<CipherSuite>Cipher suites.
groups: Allowed<NamedGroup>Key-exchange groups.
signature_schemes: Allowed<SignatureScheme>Signature schemes in the handshake (signature_algorithms, CertificateVerify).
cert_signature_schemes: Allowed<SignatureScheme>Signature schemes in certificates (signature_algorithms_cert).
Trait Implementations§
Source§impl Clone for VersionRules
impl Clone for VersionRules
impl Copy for VersionRules
Source§impl Debug for VersionRules
impl Debug for VersionRules
impl Eq for VersionRules
Source§impl PartialEq for VersionRules
impl PartialEq for VersionRules
impl StructuralPartialEq for VersionRules
Auto Trait Implementations§
impl Forget for VersionRules
impl Freeze for VersionRuleswhere
&'static [CipherSuite]: Freeze,
&'static [NamedGroup]: Freeze,
&'static [SignatureScheme]: Freeze,
impl Move for VersionRules
impl RefUnwindSafe for VersionRules
impl Send for VersionRules
impl Sync for VersionRules
impl Unpin for VersionRuleswhere
&'static [CipherSuite]: Unpin,
&'static [NamedGroup]: Unpin,
&'static [SignatureScheme]: Unpin,
impl UnsafeUnpin for VersionRuleswhere
&'static [CipherSuite]: UnsafeUnpin,
&'static [NamedGroup]: UnsafeUnpin,
&'static [SignatureScheme]: UnsafeUnpin,
impl UnwindSafe for VersionRuleswhere
&'static [CipherSuite]: UnwindSafe,
&'static [NamedGroup]: UnwindSafe,
&'static [SignatureScheme]: UnwindSafe,
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