Struct rustls::internal::msgs::handshake::HandshakeMessagePayload [−][src]
pub struct HandshakeMessagePayload {
pub typ: HandshakeType,
pub payload: HandshakePayload,
}
Fields
typ: HandshakeType
payload: HandshakePayload
Implementations
pub fn read_version(
r: &mut Reader<'_>,
vers: ProtocolVersion
) -> Option<HandshakeMessagePayload>
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()
.