pub enum Content<'r> {
ChangeCipherSpec,
ApplicationData,
Handshake(HandshakeMsg<'r>),
Alert(AlertMsg<'r>),
}Expand description
Content of the underlying Record
Variants§
ChangeCipherSpec
ApplicationData
Record is ApplicationData
Handshake(HandshakeMsg<'r>)
Record is a Handshake
Alert(AlertMsg<'r>)
Record is an Alert
Trait Implementations§
Auto Trait Implementations§
impl<'r> Freeze for Content<'r>
impl<'r> RefUnwindSafe for Content<'r>
impl<'r> Send for Content<'r>
impl<'r> Sync for Content<'r>
impl<'r> Unpin for Content<'r>
impl<'r> UnwindSafe for Content<'r>
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