pub enum EcCurves {
Secp256r1,
Secp256k1,
Secp384r1,
}Expand description
Supported curves for ECC operations
Variants§
Trait Implementations§
impl Copy for EcCurves
impl Eq for EcCurves
Source§impl Ord for EcCurves
impl Ord for EcCurves
1.21.0 (const: unstable) · 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 PartialOrd for EcCurves
impl PartialOrd for EcCurves
impl StructuralPartialEq for EcCurves
Auto Trait Implementations§
impl Freeze for EcCurves
impl RefUnwindSafe for EcCurves
impl Send for EcCurves
impl Sync for EcCurves
impl Unpin for EcCurves
impl UnsafeUnpin for EcCurves
impl UnwindSafe for EcCurves
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