pub struct InboundPlainMessage<'a> {
pub typ: ContentType,
pub version: ProtocolVersion,
pub payload: &'a [u8],
}
Expand description
A TLS frame, named TLSPlaintext
in the standard.
This inbound type borrows its decrypted payload from the original buffer. It results from decryption.
Fields§
§typ: ContentType
§version: ProtocolVersion
§payload: &'a [u8]
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for InboundPlainMessage<'a>
impl<'a> RefUnwindSafe for InboundPlainMessage<'a>
impl<'a> Send for InboundPlainMessage<'a>
impl<'a> Sync for InboundPlainMessage<'a>
impl<'a> Unpin for InboundPlainMessage<'a>
impl<'a> UnwindSafe for InboundPlainMessage<'a>
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes