Enum fuel_merkle::binary::MerkleTreeError
source · [−]pub enum MerkleTreeError<StorageError> {
InvalidProofIndex(u64),
LoadError(u64),
StorageError(StorageError),
}
Variants
InvalidProofIndex(u64)
LoadError(u64)
StorageError(StorageError)
Trait Implementations
sourceimpl<StorageError: Clone> Clone for MerkleTreeError<StorageError>
impl<StorageError: Clone> Clone for MerkleTreeError<StorageError>
sourcefn clone(&self) -> MerkleTreeError<StorageError>
fn clone(&self) -> MerkleTreeError<StorageError>
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 moresourceimpl<StorageError: Debug> Debug for MerkleTreeError<StorageError>
impl<StorageError: Debug> Debug for MerkleTreeError<StorageError>
sourceimpl<StorageError> Display for MerkleTreeError<StorageError>where
StorageError: Display,
impl<StorageError> Display for MerkleTreeError<StorageError>where
StorageError: Display,
sourceimpl<StorageError> Error for MerkleTreeError<StorageError>where
Self: Debug + Display,
impl<StorageError> Error for MerkleTreeError<StorageError>where
Self: Debug + Display,
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl<StorageError> From<StorageError> for MerkleTreeError<StorageError>
impl<StorageError> From<StorageError> for MerkleTreeError<StorageError>
sourcefn from(err: StorageError) -> MerkleTreeError<StorageError>
fn from(err: StorageError) -> MerkleTreeError<StorageError>
Converts to this type from the input type.
Auto Trait Implementations
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
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