Enum bridgetree::WitnessingError
source · pub enum WitnessingError {
AuthBaseNotFound,
CheckpointInvalid,
CheckpointTooDeep(usize),
PositionNotMarked(Position),
BridgeFusionError(ContinuityError),
BridgeAddressInvalid(Address),
}
Expand description
Errors that can be discovered during the process of attempting to create the witness for a leaf node.
Variants§
AuthBaseNotFound
CheckpointInvalid
CheckpointTooDeep(usize)
PositionNotMarked(Position)
BridgeFusionError(ContinuityError)
BridgeAddressInvalid(Address)
Trait Implementations§
source§impl Clone for WitnessingError
impl Clone for WitnessingError
source§fn clone(&self) -> WitnessingError
fn clone(&self) -> WitnessingError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WitnessingError
impl Debug for WitnessingError
source§impl PartialEq<WitnessingError> for WitnessingError
impl PartialEq<WitnessingError> for WitnessingError
source§fn eq(&self, other: &WitnessingError) -> bool
fn eq(&self, other: &WitnessingError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for WitnessingError
impl StructuralEq for WitnessingError
impl StructuralPartialEq for WitnessingError
Auto Trait Implementations§
impl RefUnwindSafe for WitnessingError
impl Send for WitnessingError
impl Sync for WitnessingError
impl Unpin for WitnessingError
impl UnwindSafe for WitnessingError
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