Enum concordium_std::StateError
source · [−]#[repr(u8)]
pub enum StateError {
SubtreeLocked,
EntryNotFound,
IteratorNotFound,
ParameterNotFound,
SizeTooLarge,
IteratorLimitForPrefixExceeded,
IteratorAlreadyDeleted,
SubtreeWithPrefixNotFound,
}
Expand description
The error type which is returned by methods on
HasStateApi
.
Variants
SubtreeLocked
The subtree is locked.
EntryNotFound
The entry does not exist.
IteratorNotFound
The iterator does not exist.
ParameterNotFound
The parameter does not exist.
SizeTooLarge
The specified size is too big.
IteratorLimitForPrefixExceeded
The iterator limit for a prefix has been reached.
IteratorAlreadyDeleted
The iterator has already been deleted.
SubtreeWithPrefixNotFound
No nodes exist with the given prefix.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for StateError
impl Send for StateError
impl Sync for StateError
impl Unpin for StateError
impl UnwindSafe for StateError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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