#[non_exhaustive]pub enum PeerCurve {
P256,
P384,
P521,
}Expand description
A supported named elliptic curve.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
impl Copy for PeerCurve
impl Eq for PeerCurve
impl StructuralPartialEq for PeerCurve
Auto Trait Implementations§
impl Forget for PeerCurve
impl Freeze for PeerCurve
impl Move for PeerCurve
impl RefUnwindSafe for PeerCurve
impl Send for PeerCurve
impl Sync for PeerCurve
impl Unpin for PeerCurve
impl UnsafeUnpin for PeerCurve
impl UnwindSafe for PeerCurve
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