pub enum CoseEllipticCurve {
Reserved,
P256,
P384,
P521,
X25519,
X448,
Ed25519,
Ed448,
Secp256k1,
}Expand description
CoseEllipticCurve : COSE Elliptic Curve identifier to determine which elliptic curve to use with a given key COSE Elliptic Curve identifier to determine which elliptic curve to use with a given key
Variants§
Trait Implementations§
Source§impl Clone for CoseEllipticCurve
impl Clone for CoseEllipticCurve
Source§fn clone(&self) -> CoseEllipticCurve
fn clone(&self) -> CoseEllipticCurve
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 CoseEllipticCurve
impl Debug for CoseEllipticCurve
Source§impl Default for CoseEllipticCurve
impl Default for CoseEllipticCurve
Source§fn default() -> CoseEllipticCurve
fn default() -> CoseEllipticCurve
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CoseEllipticCurve
impl<'de> Deserialize<'de> for CoseEllipticCurve
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CoseEllipticCurve
impl Display for CoseEllipticCurve
Source§impl Hash for CoseEllipticCurve
impl Hash for CoseEllipticCurve
Source§impl Ord for CoseEllipticCurve
impl Ord for CoseEllipticCurve
Source§fn cmp(&self, other: &CoseEllipticCurve) -> Ordering
fn cmp(&self, other: &CoseEllipticCurve) -> 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 CoseEllipticCurve
impl PartialEq for CoseEllipticCurve
Source§impl PartialOrd for CoseEllipticCurve
impl PartialOrd for CoseEllipticCurve
Source§impl Serialize for CoseEllipticCurve
impl Serialize for CoseEllipticCurve
impl Copy for CoseEllipticCurve
impl Eq for CoseEllipticCurve
impl StructuralPartialEq for CoseEllipticCurve
Auto Trait Implementations§
impl Freeze for CoseEllipticCurve
impl RefUnwindSafe for CoseEllipticCurve
impl Send for CoseEllipticCurve
impl Sync for CoseEllipticCurve
impl Unpin for CoseEllipticCurve
impl UnwindSafe for CoseEllipticCurve
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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.