pub enum GetStateRootError {
BalanceLeaf(BalanceLeafError),
MerkleTree(MerkleTreeError),
}
Variants
BalanceLeaf(BalanceLeafError)
MerkleTree(MerkleTreeError)
Trait Implementations
sourceimpl Debug for GetStateRootError
impl Debug for GetStateRootError
sourceimpl Display for GetStateRootError
impl Display for GetStateRootError
sourceimpl Error for GetStateRootError
impl Error for GetStateRootError
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 From<BalanceLeafError> for GetStateRootError
impl From<BalanceLeafError> for GetStateRootError
sourceimpl From<Error> for GetStateRootError
impl From<Error> for GetStateRootError
sourceimpl From<GetStateRootError> for Error
impl From<GetStateRootError> for Error
sourcefn from(source: GetStateRootError) -> Self
fn from(source: GetStateRootError) -> Self
Converts to this type from the input type.
sourceimpl From<GetStateRootError> for Error
impl From<GetStateRootError> for Error
sourcefn from(source: GetStateRootError) -> Self
fn from(source: GetStateRootError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for GetStateRootError
impl Send for GetStateRootError
impl Sync for GetStateRootError
impl Unpin for GetStateRootError
impl UnwindSafe for GetStateRootError
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