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
Uncompressed
ANSIX962CompressedPrime
ANSIX962CompressedChar2
Unknown(u8)
Implementations
sourceimpl ECPointFormat
impl ECPointFormat
Trait Implementations
sourceimpl Clone for ECPointFormat
impl Clone for ECPointFormat
sourcefn clone(&self) -> ECPointFormat
fn clone(&self) -> ECPointFormat
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Codec for ECPointFormat
impl Codec for ECPointFormat
sourceimpl Debug for ECPointFormat
impl Debug for ECPointFormat
sourceimpl PartialEq<ECPointFormat> for ECPointFormat
impl PartialEq<ECPointFormat> for ECPointFormat
sourcefn eq(&self, other: &ECPointFormat) -> bool
fn eq(&self, other: &ECPointFormat) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ECPointFormat) -> bool
fn ne(&self, other: &ECPointFormat) -> bool
This method tests for !=
.
impl Copy for ECPointFormat
impl Eq for ECPointFormat
impl StructuralEq for ECPointFormat
impl StructuralPartialEq for ECPointFormat
Auto Trait Implementations
impl RefUnwindSafe for ECPointFormat
impl Send for ECPointFormat
impl Sync for ECPointFormat
impl Unpin for ECPointFormat
impl UnwindSafe for ECPointFormat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more