Enum askar_crypto::alg::EcCurves
source · pub enum EcCurves {
Secp256r1,
Secp256k1,
Secp384r1,
}
Expand description
Supported curves for ECC operations
Variants§
Trait Implementations§
source§impl Ord for EcCurves
impl Ord for EcCurves
source§impl PartialEq for EcCurves
impl PartialEq for EcCurves
source§impl PartialOrd for EcCurves
impl PartialOrd for EcCurves
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for EcCurves
impl Eq for EcCurves
impl StructuralPartialEq for EcCurves
Auto Trait Implementations§
impl RefUnwindSafe for EcCurves
impl Send for EcCurves
impl Sync for EcCurves
impl Unpin 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