pub struct TlsHandshakeType(pub u8);
Expand description
Handshake type
Handshake types are defined in RFC5246 and the IANA HandshakeType Registry
Tuple Fields§
§0: u8
Implementations§
Source§impl TlsHandshakeType
impl TlsHandshakeType
pub const HelloRequest: TlsHandshakeType
pub const ClientHello: TlsHandshakeType
pub const ServerHello: TlsHandshakeType
pub const HelloVerifyRequest: TlsHandshakeType
pub const NewSessionTicket: TlsHandshakeType
pub const EndOfEarlyData: TlsHandshakeType
pub const HelloRetryRequest: TlsHandshakeType
pub const EncryptedExtensions: TlsHandshakeType
pub const Certificate: TlsHandshakeType
pub const ServerKeyExchange: TlsHandshakeType
pub const CertificateRequest: TlsHandshakeType
pub const ServerDone: TlsHandshakeType
pub const CertificateVerify: TlsHandshakeType
pub const ClientKeyExchange: TlsHandshakeType
pub const Finished: TlsHandshakeType
pub const CertificateURL: TlsHandshakeType
pub const CertificateStatus: TlsHandshakeType
pub const KeyUpdate: TlsHandshakeType
pub const NextProtocol: TlsHandshakeType
Trait Implementations§
Source§impl Clone for TlsHandshakeType
impl Clone for TlsHandshakeType
Source§fn clone(&self) -> TlsHandshakeType
fn clone(&self) -> TlsHandshakeType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TlsHandshakeType
impl Debug for TlsHandshakeType
Source§impl Display for TlsHandshakeType
impl Display for TlsHandshakeType
Source§impl From<TlsHandshakeType> for u8
impl From<TlsHandshakeType> for u8
Source§fn from(v: TlsHandshakeType) -> u8
fn from(v: TlsHandshakeType) -> u8
Converts to this type from the input type.
Source§impl<'nom> Parse<&'nom [u8]> for TlsHandshakeType
impl<'nom> Parse<&'nom [u8]> for TlsHandshakeType
Source§impl PartialEq for TlsHandshakeType
impl PartialEq for TlsHandshakeType
impl Copy for TlsHandshakeType
impl Eq for TlsHandshakeType
impl StructuralPartialEq for TlsHandshakeType
Auto Trait Implementations§
impl Freeze for TlsHandshakeType
impl RefUnwindSafe for TlsHandshakeType
impl Send for TlsHandshakeType
impl Sync for TlsHandshakeType
impl Unpin for TlsHandshakeType
impl UnwindSafe for TlsHandshakeType
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