Enum sov_state::StateMapError
source · pub enum StateMapError {
MissingValue(Prefix, StorageKey),
}Expand description
Error type for the StateMap::get method.
Variants§
MissingValue(Prefix, StorageKey)
Trait Implementations§
source§impl Debug for StateMapError
impl Debug for StateMapError
source§impl Display for StateMapError
impl Display for StateMapError
source§impl Error for StateMapError
impl Error for StateMapError
1.30.0 · 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()
Auto Trait Implementations§
impl RefUnwindSafe for StateMapError
impl Send for StateMapError
impl Sync for StateMapError
impl Unpin for StateMapError
impl UnwindSafe for StateMapError
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