Struct rustls::cipher_suite::CipherSuiteCommon
source · [−]pub struct CipherSuiteCommon {
pub suite: CipherSuite,
pub bulk: BulkAlgorithm,
/* private fields */
}
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.
Auto Trait Implementations
impl RefUnwindSafe for CipherSuiteCommon
impl Send for CipherSuiteCommon
impl Sync for CipherSuiteCommon
impl Unpin for CipherSuiteCommon
impl UnwindSafe for CipherSuiteCommon
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more