Struct rustls::internal::msgs::message::BorrowMessage [−][src]
A TLS frame, named TLSPlaintext in the standard.
This type differs from Message
because it borrows
its payload. You can make a Message
from an
BorrowMessage
, but this involves a copy.
This type also cannot decode its internals and
is not a Codec
type, only Message
can do that.
Fields
typ: ContentType
version: ProtocolVersion
payload: &'a [u8]
Auto Trait Implementations
impl<'a> RefUnwindSafe for BorrowMessage<'a>
impl<'a> Send for BorrowMessage<'a>
impl<'a> Sync for BorrowMessage<'a>
impl<'a> Unpin for BorrowMessage<'a>
impl<'a> UnwindSafe for BorrowMessage<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,