Struct rustls::internal::msgs::message::Message [−][src]
pub struct Message {
pub typ: ContentType,
pub version: ProtocolVersion,
pub payload: MessagePayload,
}Expand description
A TLS frame, named TLSPlaintext in the standard. This type owns all memory for its interior parts.
Fields
typ: ContentTypeversion: ProtocolVersionpayload: MessagePayloadImplementations
Maximum on-wire message size.
Like Message::read(), but allows the important distinction between: this message might be valid if we read more data; and this message will never be valid.
Trait Implementations
Decode yourself by fiddling with the Reader.
Return Some if it worked, None if not. Read more
Convenience function to get the results of encode().