pub enum DagDbError {
Serialization(String),
}Expand description
Errors produced by deterministic DAG DB contract code.
Variants§
Trait Implementations§
Source§impl Debug for DagDbError
impl Debug for DagDbError
Source§impl Display for DagDbError
impl Display for DagDbError
impl Eq for DagDbError
Source§impl Error for DagDbError
impl Error for DagDbError
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 DagDbError
impl PartialEq for DagDbError
Source§fn eq(&self, other: &DagDbError) -> bool
fn eq(&self, other: &DagDbError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DagDbError
Auto Trait Implementations§
impl Freeze for DagDbError
impl RefUnwindSafe for DagDbError
impl Send for DagDbError
impl Sync for DagDbError
impl Unpin for DagDbError
impl UnsafeUnpin for DagDbError
impl UnwindSafe for DagDbError
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