Enum wycheproof::MontgomeryCurve
source · pub enum MontgomeryCurve {
X25519,
X448,
}
Expand description
Montgomery curves
Variants§
Trait Implementations§
source§impl Clone for MontgomeryCurve
impl Clone for MontgomeryCurve
source§fn clone(&self) -> MontgomeryCurve
fn clone(&self) -> MontgomeryCurve
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 MontgomeryCurve
impl Debug for MontgomeryCurve
source§impl<'de> Deserialize<'de> for MontgomeryCurve
impl<'de> Deserialize<'de> for MontgomeryCurve
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for MontgomeryCurve
impl Hash for MontgomeryCurve
source§impl PartialEq<MontgomeryCurve> for MontgomeryCurve
impl PartialEq<MontgomeryCurve> for MontgomeryCurve
source§fn eq(&self, other: &MontgomeryCurve) -> bool
fn eq(&self, other: &MontgomeryCurve) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MontgomeryCurve
impl Eq for MontgomeryCurve
impl StructuralEq for MontgomeryCurve
impl StructuralPartialEq for MontgomeryCurve
Auto Trait Implementations§
impl RefUnwindSafe for MontgomeryCurve
impl Send for MontgomeryCurve
impl Sync for MontgomeryCurve
impl Unpin for MontgomeryCurve
impl UnwindSafe for MontgomeryCurve
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