#[repr(u8)]pub enum HandshakeType {
HelloRequest = 0,
ClientHello = 1,
ServerHello = 2,
Certificate = 11,
ServerKeyExchange = 12,
CertificateRequest = 13,
ServerHelloDone = 14,
CertificateVerify = 15,
ClientKeyExchange = 16,
Finished = 20,
}Expand description
A Handshake Type following Section A.4.1.
Variants§
HelloRequest = 0
hello_request(0)
ClientHello = 1
client_hello(1)
ServerHello = 2
server_hello(2)
Certificate = 11
certificate(11)
ServerKeyExchange = 12
server_key_exchange(12)
CertificateRequest = 13
certificate_request(13)
ServerHelloDone = 14
server_hello_done(14)
CertificateVerify = 15
certificate_verify(15)
ClientKeyExchange = 16
client_key_exchange(16)
Finished = 20
finished(20)
Trait Implementations§
Source§impl Clone for HandshakeType
impl Clone for HandshakeType
Source§fn clone(&self) -> HandshakeType
fn clone(&self) -> HandshakeType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Codec for HandshakeType
impl Codec for HandshakeType
impl Copy for HandshakeType
Source§impl Debug for HandshakeType
impl Debug for HandshakeType
impl Eq for HandshakeType
Source§impl Hash for HandshakeType
impl Hash for HandshakeType
Source§impl Ord for HandshakeType
impl Ord for HandshakeType
Source§fn cmp(&self, other: &HandshakeType) -> Ordering
fn cmp(&self, other: &HandshakeType) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for HandshakeType
impl PartialEq for HandshakeType
Source§impl PartialOrd for HandshakeType
impl PartialOrd for HandshakeType
impl StructuralPartialEq for HandshakeType
Auto Trait Implementations§
impl Freeze for HandshakeType
impl RefUnwindSafe for HandshakeType
impl Send for HandshakeType
impl Sync for HandshakeType
impl Unpin for HandshakeType
impl UnsafeUnpin for HandshakeType
impl UnwindSafe for HandshakeType
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