pub enum TlsState {
Show 25 variants
None,
ClientHello,
AskResumeSession,
ResumeSession,
ServerHello,
Certificate,
CertificateSt,
ServerKeyExchange,
ServerHelloDone,
ClientKeyExchange,
ClientChangeCipherSpec,
CRCertRequest,
CRHelloDone,
CRCert,
CRClientKeyExchange,
CRCertVerify,
NoCertSKE,
NoCertHelloDone,
NoCertCKE,
PskHelloDone,
PskCKE,
SessionEncrypted,
Alert,
Finished,
Invalid,
}
Expand description
TLS machine possible states
Variants§
None
ClientHello
AskResumeSession
ResumeSession
ServerHello
Certificate
CertificateSt
ServerKeyExchange
ServerHelloDone
ClientKeyExchange
ClientChangeCipherSpec
CRCertRequest
CRHelloDone
CRCert
CRClientKeyExchange
CRCertVerify
NoCertSKE
NoCertHelloDone
NoCertCKE
PskHelloDone
PskCKE
SessionEncrypted
Alert
Finished
Invalid
Trait Implementations§
impl Copy for TlsState
impl StructuralPartialEq for TlsState
Auto Trait Implementations§
impl Freeze for TlsState
impl RefUnwindSafe for TlsState
impl Send for TlsState
impl Sync for TlsState
impl Unpin for TlsState
impl UnwindSafe for TlsState
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