Type Definition rustls::internal::msgs::handshake::ProtocolVersions [−][src]
type ProtocolVersions = Vec<ProtocolVersion>;
Trait Implementations
impl Codec for ProtocolVersions
[src]
impl Codec for ProtocolVersions
[src]fn read(r: &mut Reader<'_>) -> Option<ProtocolVersions>
[src]
fn read(r: &mut Reader<'_>) -> Option<ProtocolVersions>
[src]Decode yourself by fiddling with the Reader
.
Return Some if it worked, None if not. Read more
fn get_encoding(&self) -> Vec<u8>
[src]
fn get_encoding(&self) -> Vec<u8>
[src]Convenience function to get the results of encode()
.