pub enum DualFrontierError {
InvalidShape,
NonCanonicalAbsence,
ZeroSequence,
}Expand description
A safe failure to decode a canonical DualFrontier.
Variants§
InvalidShape
A presence tag is not one of the two closed values.
NonCanonicalAbsence
A component is tagged absent but carries nonzero bytes.
ZeroSequence
A component is tagged present but encodes sequence zero.
Trait Implementations§
Source§impl Clone for DualFrontierError
impl Clone for DualFrontierError
impl Copy for DualFrontierError
Source§impl Debug for DualFrontierError
impl Debug for DualFrontierError
Source§impl Display for DualFrontierError
impl Display for DualFrontierError
impl Eq for DualFrontierError
Source§impl Error for DualFrontierError
impl Error for DualFrontierError
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 DualFrontierError
impl PartialEq for DualFrontierError
impl StructuralPartialEq for DualFrontierError
Auto Trait Implementations§
impl Freeze for DualFrontierError
impl RefUnwindSafe for DualFrontierError
impl Send for DualFrontierError
impl Sync for DualFrontierError
impl Unpin for DualFrontierError
impl UnsafeUnpin for DualFrontierError
impl UnwindSafe for DualFrontierError
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