#[repr(u8)]
pub enum EcResult {
Show 18 variants
Valid,
CompositeBase,
ComplicatedBase,
IsZeroDiscriminant,
CompositeOrder,
InvalidOrder,
IsWeakMov,
IsWeakSsa,
IsSuperSingular,
InvalidPrivateKey,
InvalidPublicKey,
InvalidKeyPair,
PointOutOfGroup,
PointIsAtInfinity,
PointIsNotValid,
PointIsEqual,
PointIsNotEqual,
InvalidSignature,
}
Variants
Valid
CompositeBase
ComplicatedBase
IsZeroDiscriminant
CompositeOrder
InvalidOrder
IsWeakMov
IsWeakSsa
IsSuperSingular
InvalidPrivateKey
InvalidPublicKey
InvalidKeyPair
PointOutOfGroup
PointIsAtInfinity
PointIsNotValid
PointIsEqual
PointIsNotEqual
InvalidSignature
Implementations
Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more