Enum win_crypto_ng::asymmetric::ecc::NamedCurve
source · pub enum NamedCurve {
NistP256,
NistP384,
NistP521,
Curve25519,
}
Expand description
Type-erased named curve enumeration. For concrete types, see unit structs defined in this module.
Variants§
NistP256
NIST P-256. See NistP256
.
NistP384
NIST P-384. See NistP384
.
NistP521
NIST P-521. See NistP521
.
Curve25519
See Curve25519
.
Implementations§
Trait Implementations§
source§impl Clone for NamedCurve
impl Clone for NamedCurve
source§fn clone(&self) -> NamedCurve
fn clone(&self) -> NamedCurve
Returns a copy 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 NamedCurve
impl Debug for NamedCurve
source§impl PartialEq<NamedCurve> for NamedCurve
impl PartialEq<NamedCurve> for NamedCurve
source§fn eq(&self, other: &NamedCurve) -> bool
fn eq(&self, other: &NamedCurve) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NamedCurve
impl Eq for NamedCurve
impl StructuralEq for NamedCurve
impl StructuralPartialEq for NamedCurve
Auto Trait Implementations§
impl RefUnwindSafe for NamedCurve
impl Send for NamedCurve
impl Sync for NamedCurve
impl Unpin for NamedCurve
impl UnwindSafe for NamedCurve
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