pub enum QuDAGError {
ValidationError(String),
CryptoError(String),
NetworkError(String),
ConsensusError(String),
}
Expand description
QuDAG specific errors
Variants§
Trait Implementations§
Source§impl Debug for QuDAGError
impl Debug for QuDAGError
Source§impl Display for QuDAGError
impl Display for QuDAGError
Source§impl Error for QuDAGError
impl Error for QuDAGError
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()
Auto Trait Implementations§
impl Freeze for QuDAGError
impl RefUnwindSafe for QuDAGError
impl Send for QuDAGError
impl Sync for QuDAGError
impl Unpin for QuDAGError
impl UnwindSafe for QuDAGError
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