pub struct InboundPlainMessage<'a> {
pub typ: ContentType,
pub version: ProtocolVersion,
pub payload: &'a [u8],
}展开描述
一个 TLS 帧,在标准中称为 TLSPlaintext。
This inbound type borrows its decrypted payload 从 the original 缓冲区. It results 从 decryption.
字段§
§typ: ContentType§version: ProtocolVersion§payload: &'a [u8]Trait 实现§
自动 Trait 实现§
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> UnsafeUnpin for InboundPlainMessage<'a>
impl<'a> UnwindSafe for InboundPlainMessage<'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. 更多信息