pub struct ComposeMutationEngine { /* private fields */ }Expand description
Coordinates a Compose mutation and independent service-state verification.
Implementations§
Source§impl ComposeMutationEngine
impl ComposeMutationEngine
Sourcepub const fn new(verification: MutationVerificationPolicy) -> Self
pub const fn new(verification: MutationVerificationPolicy) -> Self
Creates an engine using the supplied verification policy.
Sourcepub async fn execute(
&self,
client: &dyn ComposeMutationClient,
host: &HostRecord,
request: &ComposeMutationRequest,
cancellation: &CancellationToken,
) -> MutationResult<ComposeMutationOutcome>
pub async fn execute( &self, client: &dyn ComposeMutationClient, host: &HostRecord, request: &ComposeMutationRequest, cancellation: &CancellationToken, ) -> MutationResult<ComposeMutationOutcome>
Sends and verifies one Compose mutation.
Trait Implementations§
Source§impl Clone for ComposeMutationEngine
impl Clone for ComposeMutationEngine
Source§fn clone(&self) -> ComposeMutationEngine
fn clone(&self) -> ComposeMutationEngine
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 ComposeMutationEngine
impl Debug for ComposeMutationEngine
Source§impl Default for ComposeMutationEngine
impl Default for ComposeMutationEngine
impl Copy for ComposeMutationEngine
Auto Trait Implementations§
impl Freeze for ComposeMutationEngine
impl RefUnwindSafe for ComposeMutationEngine
impl Send for ComposeMutationEngine
impl Sync for ComposeMutationEngine
impl Unpin for ComposeMutationEngine
impl UnsafeUnpin for ComposeMutationEngine
impl UnwindSafe for ComposeMutationEngine
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