Struct rustls::internal::msgs::handshake::ECParameters [−][src]
pub struct ECParameters { pub curve_type: ECCurveType, pub named_group: NamedGroup, }
Fields
curve_type: ECCurveType
named_group: NamedGroup
Trait Implementations
impl Codec for ECParameters
[src]
impl Codec for ECParameters
[src]fn read(r: &mut Reader<'_>) -> Option<ECParameters>
[src]
fn read(r: &mut Reader<'_>) -> Option<ECParameters>
[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()
.