pub struct CompensationIdempotencyHandle { /* private fields */ }Expand description
Bus-insertable idempotency handle for compensation hooks.
Implementations§
Source§impl CompensationIdempotencyHandle
impl CompensationIdempotencyHandle
pub fn from_store<S>(store: S) -> Selfwhere
S: CompensationIdempotencyStore + 'static,
pub fn from_arc(store: Arc<dyn CompensationIdempotencyStore>) -> Self
pub fn store(&self) -> Arc<dyn CompensationIdempotencyStore>
Trait Implementations§
Source§impl Clone for CompensationIdempotencyHandle
impl Clone for CompensationIdempotencyHandle
Source§fn clone(&self) -> CompensationIdempotencyHandle
fn clone(&self) -> CompensationIdempotencyHandle
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 moreAuto Trait Implementations§
impl Freeze for CompensationIdempotencyHandle
impl !RefUnwindSafe for CompensationIdempotencyHandle
impl Send for CompensationIdempotencyHandle
impl Sync for CompensationIdempotencyHandle
impl Unpin for CompensationIdempotencyHandle
impl UnsafeUnpin for CompensationIdempotencyHandle
impl !UnwindSafe for CompensationIdempotencyHandle
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