Enum fuel_merkle::sparse::MerkleTreeError
source · pub enum MerkleTreeError<StorageError> {
LoadError(String),
StorageError(StorageError),
DeserializeError(DeserializeError),
ChildError(ChildError<Bytes32, StorageNodeError<StorageError>>),
}
Variants§
LoadError(String)
StorageError(StorageError)
DeserializeError(DeserializeError)
ChildError(ChildError<Bytes32, StorageNodeError<StorageError>>)
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,
ChildError<Bytes32, StorageNodeError<StorageError>>: Display,
impl<StorageError> Display for MerkleTreeError<StorageError>where StorageError: Display, ChildError<Bytes32, StorageNodeError<StorageError>>: Display,
source§impl<StorageError> Error for MerkleTreeError<StorageError>where
StorageError: Error,
ChildError<Bytes32, StorageNodeError<StorageError>>: Error,
Self: Debug + Display,
impl<StorageError> Error for MerkleTreeError<StorageError>where StorageError: Error, ChildError<Bytes32, StorageNodeError<StorageError>>: Error, Self: Debug + Display,
source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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.
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§
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