#[repr(u8)]pub enum EcResult {
Show 18 variants
Valid = 0,
CompositeBase = 1,
ComplicatedBase = 2,
IsZeroDiscriminant = 3,
CompositeOrder = 4,
InvalidOrder = 5,
IsWeakMov = 6,
IsWeakSsa = 7,
IsSuperSingular = 8,
InvalidPrivateKey = 9,
InvalidPublicKey = 10,
InvalidKeyPair = 11,
PointOutOfGroup = 12,
PointIsAtInfinity = 13,
PointIsNotValid = 14,
PointIsEqual = 15,
PointIsNotEqual = 16,
InvalidSignature = 17,
}
Variants§
Valid = 0
CompositeBase = 1
ComplicatedBase = 2
IsZeroDiscriminant = 3
CompositeOrder = 4
InvalidOrder = 5
IsWeakMov = 6
IsWeakSsa = 7
IsSuperSingular = 8
InvalidPrivateKey = 9
InvalidPublicKey = 10
InvalidKeyPair = 11
PointOutOfGroup = 12
PointIsAtInfinity = 13
PointIsNotValid = 14
PointIsEqual = 15
PointIsNotEqual = 16
InvalidSignature = 17
Implementations§
Trait Implementations§
source§impl PartialEq for EcResult
impl PartialEq for EcResult
impl ContiguousMemory for EcResult
impl Copy for EcResult
impl Eq for EcResult
impl StructuralEq for EcResult
impl StructuralPartialEq for EcResult
Auto Trait Implementations§
impl RefUnwindSafe for EcResult
impl Send for EcResult
impl Sync for EcResult
impl Unpin for EcResult
impl UnwindSafe for EcResult
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