pub struct DoubleSpendError {
pub seal_ref: SealRef,
pub existing_consumptions: Vec<SealConsumption>,
pub new_consumption: SealConsumption,
pub is_cross_chain: bool,
}Expand description
Error returned when a double-spend is detected.
Fields§
§seal_ref: SealRefThe seal that was double-spent
existing_consumptions: Vec<SealConsumption>Existing consumption events
new_consumption: SealConsumptionThe new consumption attempt
is_cross_chain: boolWhether this is a cross-chain double-spend
Trait Implementations§
Source§impl Clone for DoubleSpendError
impl Clone for DoubleSpendError
Source§fn clone(&self) -> DoubleSpendError
fn clone(&self) -> DoubleSpendError
Returns a duplicate 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 DoubleSpendError
impl Debug for DoubleSpendError
Auto Trait Implementations§
impl Freeze for DoubleSpendError
impl RefUnwindSafe for DoubleSpendError
impl Send for DoubleSpendError
impl Sync for DoubleSpendError
impl Unpin for DoubleSpendError
impl UnsafeUnpin for DoubleSpendError
impl UnwindSafe for DoubleSpendError
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