Enum sc_state_db::Error
source · pub enum Error<E> {
Db(E),
StateDb(StateDbError),
}
Expand description
Error type.
Variants§
Trait Implementations§
source§impl<E> From<StateDbError> for Error<E>
impl<E> From<StateDbError> for Error<E>
source§fn from(inner: StateDbError) -> Self
fn from(inner: StateDbError) -> Self
Converts to this type from the input type.
source§impl<E: PartialEq> PartialEq for Error<E>
impl<E: PartialEq> PartialEq for Error<E>
impl<E: Eq> Eq for Error<E>
impl<E> StructuralEq for Error<E>
impl<E> StructuralPartialEq for Error<E>
Auto Trait Implementations§
impl<E> RefUnwindSafe for Error<E>where E: RefUnwindSafe,
impl<E> Send for Error<E>where E: Send,
impl<E> Sync for Error<E>where E: Sync,
impl<E> Unpin for Error<E>where E: Unpin,
impl<E> UnwindSafe for Error<E>where E: 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