#[repr(C)]pub enum CkzgError {
C_KZG_OK = 0,
C_KZG_BADARGS = 1,
C_KZG_ERROR = 2,
C_KZG_MALLOC = 3,
}
Expand description
The common return type for all routines in which something can go wrong.
Variants§
C_KZG_OK = 0
< Success!
C_KZG_BADARGS = 1
< The supplied data is invalid in some way.
C_KZG_ERROR = 2
< Internal error - this should never occur.
C_KZG_MALLOC = 3
< Could not allocate memory.
Trait Implementations§
impl Copy for C_KZG_RET
impl Eq for C_KZG_RET
impl StructuralPartialEq for C_KZG_RET
Auto Trait Implementations§
impl Freeze for C_KZG_RET
impl RefUnwindSafe for C_KZG_RET
impl Send for C_KZG_RET
impl Sync for C_KZG_RET
impl Unpin for C_KZG_RET
impl UnwindSafe for C_KZG_RET
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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
)