pub struct OutboundPlainMessage<'a> {
pub typ: ContentType,
pub version: ProtocolVersion,
pub payload: OutboundChunks<'a>,
}展开描述
一个 TLS 帧,在标准中称为 TLSPlaintext。
This outbound type borrows its “到 be encrypted” payload 从 the “user”。 It is 用 用于 fragmenting 并 is 已消耗 by encryption.
字段§
§typ: ContentType§version: ProtocolVersion§payload: OutboundChunks<'a>Trait 实现§
自动 Trait 实现§
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> UnsafeUnpin for OutboundPlainMessage<'a>
impl<'a> UnwindSafe for OutboundPlainMessage<'a>
Blanket 实现§
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 从 an owned value. 更多信息