Enum sputnikvm::errors::CommitError
source · pub enum CommitError {
InvalidCommitment,
AlreadyCommitted,
}
Expand description
Errors returned when committing a new information.
Variants
InvalidCommitment
The commitment is invalid.
AlreadyCommitted
The commitment has already been committed.
Trait Implementations
sourceimpl Clone for CommitError
impl Clone for CommitError
sourcefn clone(&self) -> CommitError
fn clone(&self) -> CommitError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for CommitError
impl Send for CommitError
impl Sync for CommitError
impl Unpin for CommitError
impl UnwindSafe for CommitError
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