Enum EllipticCurve
Source pub enum EllipticCurve {
P192 = 0,
P256 = 1,
}
Available on crate feature unstable
only.
Expand description
Represents supported elliptic curves for cryptographic operations.
The P-192 elliptic curve, a 192-bit curve.
The P-256 elliptic curve. a 256-bit curve.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
[From]<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.