pub enum KzgError {
BadArgs(String),
InternalError,
InvalidBytesLength(String),
InvalidHexFormat(String),
InvalidTrustedSetup(String),
}
Variants§
BadArgs(String)
The supplied data is invalid in some way.
InternalError
Internal error - this should never occur.
InvalidBytesLength(String)
The provided bytes are of incorrect length.
InvalidHexFormat(String)
Error when converting from hex to bytes.
InvalidTrustedSetup(String)
The provided trusted setup params are invalid.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KzgError
impl RefUnwindSafe for KzgError
impl Send for KzgError
impl Sync for KzgError
impl Unpin for KzgError
impl UnwindSafe for KzgError
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
)