Enum State Error
pub enum StateError {
InvalidLimits,
InvalidNode,
DuplicateId(NodeId),
MissingNode(NodeId),
InvalidOperation,
Capacity,
InvalidRecord,
WrongProduct,
RevisionExhausted,
}Variants§
InvalidLimits
InvalidNode
DuplicateId(NodeId)
MissingNode(NodeId)
InvalidOperation
Capacity
InvalidRecord
WrongProduct
RevisionExhausted
Trait Implementations§
§impl Clone for StateError
impl Clone for StateError
§fn clone(&self) -> StateError
fn clone(&self) -> StateError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StateError
§impl Debug for StateError
impl Debug for StateError
§impl Display for StateError
impl Display for StateError
impl Eq for StateError
§impl Error for StateError
impl Error for StateError
1.30.0 · §fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · §fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
§impl PartialEq for StateError
impl PartialEq for StateError
impl StructuralPartialEq for StateError
Auto Trait Implementations§
impl Freeze for StateError
impl RefUnwindSafe for StateError
impl Send for StateError
impl Sync for StateError
impl Unpin for StateError
impl UnsafeUnpin for StateError
impl UnwindSafe for StateError
Blanket Implementations§
§impl<T> BorrowMut<T> for T
impl<T> BorrowMut<T> for T
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more