pub struct CancellationGuard { /* private fields */ }Expand description
Ensures on_verified_payment_canceled runs at most once for a payment.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for CancellationGuard
impl !RefUnwindSafe for CancellationGuard
impl !UnwindSafe for CancellationGuard
impl Send for CancellationGuard
impl Sync for CancellationGuard
impl Unpin for CancellationGuard
impl UnsafeUnpin for CancellationGuard
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