Enum rustls::internal::msgs::message::MessagePayload
[−]
[src]
pub enum MessagePayload {
Alert(AlertMessagePayload),
Handshake(HandshakeMessagePayload),
ChangeCipherSpec(ChangeCipherSpecPayload),
Opaque(Payload),
}Variants
Alert(AlertMessagePayload)Handshake(HandshakeMessagePayload)ChangeCipherSpec(ChangeCipherSpecPayload)Opaque(Payload)Methods
impl MessagePayload[src]
fn encode(&self, bytes: &mut Vec<u8>)
fn decode_given_type(&self,
typ: ContentType,
vers: ProtocolVersion)
-> Option<MessagePayload>
typ: ContentType,
vers: ProtocolVersion)
-> Option<MessagePayload>