Enum blst::BLST_ERROR
source · #[repr(u32)]pub enum BLST_ERROR {
BLST_SUCCESS = 0,
BLST_BAD_ENCODING = 1,
BLST_POINT_NOT_ON_CURVE = 2,
BLST_POINT_NOT_IN_GROUP = 3,
BLST_AGGR_TYPE_MISMATCH = 4,
BLST_VERIFY_FAIL = 5,
BLST_PK_IS_INFINITY = 6,
BLST_BAD_SCALAR = 7,
}
Variants§
BLST_SUCCESS = 0
BLST_BAD_ENCODING = 1
BLST_POINT_NOT_ON_CURVE = 2
BLST_POINT_NOT_IN_GROUP = 3
BLST_AGGR_TYPE_MISMATCH = 4
BLST_VERIFY_FAIL = 5
BLST_PK_IS_INFINITY = 6
BLST_BAD_SCALAR = 7
Trait Implementations§
source§impl Clone for BLST_ERROR
impl Clone for BLST_ERROR
source§fn clone(&self) -> BLST_ERROR
fn clone(&self) -> BLST_ERROR
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 BLST_ERROR
impl Debug for BLST_ERROR
source§impl Hash for BLST_ERROR
impl Hash for BLST_ERROR
source§impl PartialEq for BLST_ERROR
impl PartialEq for BLST_ERROR
source§fn eq(&self, other: &BLST_ERROR) -> bool
fn eq(&self, other: &BLST_ERROR) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BLST_ERROR
impl Eq for BLST_ERROR
impl StructuralPartialEq for BLST_ERROR
Auto Trait Implementations§
impl Freeze for BLST_ERROR
impl RefUnwindSafe for BLST_ERROR
impl Send for BLST_ERROR
impl Sync for BLST_ERROR
impl Unpin for BLST_ERROR
impl UnwindSafe for BLST_ERROR
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)