pub enum ECPointFormat {
Uncompressed,
ANSIX962CompressedPrime,
ANSIX962CompressedChar2,
Unknown(u8),
}Expand description
The ECPointFormat TLS protocol enum. Values in this enum are taken
from the various RFCs covering TLS, and are listed by IANA.
The Unknown item is used when processing unrecognised ordinals.
Variants§
Trait Implementations§
Source§impl Clone for ECPointFormat
impl Clone for ECPointFormat
Source§fn clone(&self) -> ECPointFormat
fn clone(&self) -> ECPointFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ECPointFormat
impl Debug for ECPointFormat
Source§impl<'de> Deserialize<'de> for ECPointFormat
impl<'de> Deserialize<'de> for ECPointFormat
Source§fn deserialize<D>(
deserializer: D,
) -> Result<ECPointFormat, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<ECPointFormat, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ECPointFormat
impl Display for ECPointFormat
Source§impl From<u8> for ECPointFormat
impl From<u8> for ECPointFormat
Source§fn from(x: u8) -> ECPointFormat
fn from(x: u8) -> ECPointFormat
Converts to this type from the input type.
Source§impl Hash for ECPointFormat
impl Hash for ECPointFormat
Source§impl LowerHex for ECPointFormat
impl LowerHex for ECPointFormat
Source§impl Ord for ECPointFormat
impl Ord for ECPointFormat
Source§fn cmp(&self, other: &ECPointFormat) -> Ordering
fn cmp(&self, other: &ECPointFormat) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ECPointFormat
impl PartialEq for ECPointFormat
Source§impl PartialOrd for ECPointFormat
impl PartialOrd for ECPointFormat
Source§impl Serialize for ECPointFormat
impl Serialize for ECPointFormat
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl UpperHex for ECPointFormat
impl UpperHex for ECPointFormat
impl Copy for ECPointFormat
impl Eq for ECPointFormat
impl StructuralPartialEq for ECPointFormat
Auto Trait Implementations§
impl Freeze for ECPointFormat
impl RefUnwindSafe for ECPointFormat
impl Send for ECPointFormat
impl Sync for ECPointFormat
impl Unpin for ECPointFormat
impl UnwindSafe for ECPointFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more