pub enum RootHistoryContractError {
UnsupportedFormat(u16),
MissingFormatVersion,
NonCanonical,
ZeroIdentity(&'static str),
Budget {
field: &'static str,
observed: usize,
maximum: usize,
},
Violation(&'static str),
HistoryUnavailable,
CrossCollectionSharedRoot,
ReadRefused(&'static str),
ArithmeticOverflow,
Nested(String),
Serde(String),
}Variants§
UnsupportedFormat(u16)
MissingFormatVersion
NonCanonical
ZeroIdentity(&'static str)
Budget
Violation(&'static str)
ReadRefused(&'static str)
ArithmeticOverflow
Nested(String)
Serde(String)
Trait Implementations§
Source§impl Clone for RootHistoryContractError
impl Clone for RootHistoryContractError
Source§impl Debug for RootHistoryContractError
impl Debug for RootHistoryContractError
Source§impl Display for RootHistoryContractError
impl Display for RootHistoryContractError
impl Eq for RootHistoryContractError
Source§impl Error for RootHistoryContractError
impl Error for RootHistoryContractError
1.30.0 · Source§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 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for RootHistoryContractError
impl PartialEq for RootHistoryContractError
impl StructuralPartialEq for RootHistoryContractError
Auto Trait Implementations§
impl Freeze for RootHistoryContractError
impl RefUnwindSafe for RootHistoryContractError
impl Send for RootHistoryContractError
impl Sync for RootHistoryContractError
impl Unpin for RootHistoryContractError
impl UnsafeUnpin for RootHistoryContractError
impl UnwindSafe for RootHistoryContractError
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