pub enum WrappedContentType {
ChangeCipherSpec,
Alert,
Handshake,
ApplicationData,
Unknown(u8),
}Variants§
ChangeCipherSpec
Change Cipher Spec
Alert
Alert
Handshake
Handshake
ApplicationData
Application Data
Unknown(u8)
Unknown
Trait Implementations§
Source§impl Debug for WrappedContentType
impl Debug for WrappedContentType
Source§impl From<WrappedContentType> for &'static str
impl From<WrappedContentType> for &'static str
Source§fn from(t: WrappedContentType) -> &'static str
fn from(t: WrappedContentType) -> &'static str
Converts to this type from the input type.
Source§impl From<u8> for WrappedContentType
impl From<u8> for WrappedContentType
Source§impl PartialEq for WrappedContentType
impl PartialEq for WrappedContentType
impl StructuralPartialEq for WrappedContentType
Auto Trait Implementations§
impl Freeze for WrappedContentType
impl RefUnwindSafe for WrappedContentType
impl Send for WrappedContentType
impl Sync for WrappedContentType
impl Unpin for WrappedContentType
impl UnwindSafe for WrappedContentType
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