Enum fuel_merkle::binary::MerkleTreeError
source · pub enum MerkleTreeError<StorageError> {
InvalidProofIndex(u64),
LoadError(u64),
StorageError(StorageError),
TooLarge,
}
Variants§
Trait Implementations§
source§impl<StorageError: Clone> Clone for MerkleTreeError<StorageError>
impl<StorageError: Clone> Clone for MerkleTreeError<StorageError>
source§fn clone(&self) -> MerkleTreeError<StorageError>
fn clone(&self) -> MerkleTreeError<StorageError>
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<StorageError: Debug> Debug for MerkleTreeError<StorageError>
impl<StorageError: Debug> Debug for MerkleTreeError<StorageError>
source§impl<StorageError> Display for MerkleTreeError<StorageError>where
StorageError: Display,
impl<StorageError> Display for MerkleTreeError<StorageError>where
StorageError: Display,
source§impl<StorageError> From<StorageError> for MerkleTreeError<StorageError>
impl<StorageError> From<StorageError> for MerkleTreeError<StorageError>
source§fn from(err: StorageError) -> MerkleTreeError<StorageError>
fn from(err: StorageError) -> MerkleTreeError<StorageError>
Converts to this type from the input type.
source§impl<StorageError: PartialEq> PartialEq for MerkleTreeError<StorageError>
impl<StorageError: PartialEq> PartialEq for MerkleTreeError<StorageError>
source§fn eq(&self, other: &MerkleTreeError<StorageError>) -> bool
fn eq(&self, other: &MerkleTreeError<StorageError>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<StorageError: Eq> Eq for MerkleTreeError<StorageError>
impl<StorageError> StructuralPartialEq for MerkleTreeError<StorageError>
Auto Trait Implementations§
impl<StorageError> Freeze for MerkleTreeError<StorageError>where
StorageError: Freeze,
impl<StorageError> RefUnwindSafe for MerkleTreeError<StorageError>where
StorageError: RefUnwindSafe,
impl<StorageError> Send for MerkleTreeError<StorageError>where
StorageError: Send,
impl<StorageError> Sync for MerkleTreeError<StorageError>where
StorageError: Sync,
impl<StorageError> Unpin for MerkleTreeError<StorageError>where
StorageError: Unpin,
impl<StorageError> UnwindSafe for MerkleTreeError<StorageError>where
StorageError: UnwindSafe,
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