pub struct InlinePredicateOp { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for InlinePredicateOp
impl Clone for InlinePredicateOp
Source§fn clone(&self) -> InlinePredicateOp
fn clone(&self) -> InlinePredicateOp
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InlinePredicateOp
impl Debug for InlinePredicateOp
Source§impl Default for InlinePredicateOp
impl Default for InlinePredicateOp
Source§impl Op<bool> for InlinePredicateOp
impl Op<bool> for InlinePredicateOp
fn perform<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
dry: &'life1 mut DryContext,
wet: &'life2 mut WetContext,
) -> Pin<Box<dyn Future<Output = OpResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn metadata(&self) -> OpMetadata
Source§fn rollback<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_dry: &'life1 mut DryContext,
_wet: &'life2 mut WetContext,
) -> Pin<Box<dyn Future<Output = OpResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn rollback<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_dry: &'life1 mut DryContext,
_wet: &'life2 mut WetContext,
) -> Pin<Box<dyn Future<Output = OpResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Optional rollback method for ops that need custom cleanup logic.
Default implementation is a no-op for backward compatibility.
Called automatically by batch operations when a later op fails.
Auto Trait Implementations§
impl !RefUnwindSafe for InlinePredicateOp
impl !UnwindSafe for InlinePredicateOp
impl Freeze for InlinePredicateOp
impl Send for InlinePredicateOp
impl Sync for InlinePredicateOp
impl Unpin for InlinePredicateOp
impl UnsafeUnpin for InlinePredicateOp
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