pub struct OutboundPlainMessage<'a> {
pub typ: ContentType,
pub version: ProtocolVersion,
pub payload: OutboundChunks<'a>,
}
Expand description
A TLS frame, named TLSPlaintext
in the standard.
This outbound type borrows its “to be encrypted” payload from the “user”. It is used for fragmenting and is consumed by encryption.
Fields§
§typ: ContentType
§version: ProtocolVersion
§payload: OutboundChunks<'a>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for OutboundPlainMessage<'a>
impl<'a> RefUnwindSafe for OutboundPlainMessage<'a>
impl<'a> Send for OutboundPlainMessage<'a>
impl<'a> Sync for OutboundPlainMessage<'a>
impl<'a> Unpin for OutboundPlainMessage<'a>
impl<'a> UnwindSafe for OutboundPlainMessage<'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: 40 bytes