Struct rustls::suites::CipherSuiteCommon
source · pub struct CipherSuiteCommon {
pub suite: CipherSuite,
pub bulk: BulkAlgorithm,
pub(crate) aead_algorithm: &'static Algorithm,
}
Expand description
Common state for cipher suites (both for TLS 1.2 and TLS 1.3)
Fields§
§suite: CipherSuite
The TLS enumeration naming this cipher suite.
bulk: BulkAlgorithm
How to do bulk encryption.
aead_algorithm: &'static Algorithm
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CipherSuiteCommon
impl RefUnwindSafe for CipherSuiteCommon
impl Send for CipherSuiteCommon
impl Sync for CipherSuiteCommon
impl Unpin for CipherSuiteCommon
impl UnwindSafe for CipherSuiteCommon
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