pub struct MutatorResult {
pub client: Deferred<MutationOutcome>,
pub server: Deferred<MutationOutcome>,
}Expand description
What mutate returns: the outcome of the optimistic run on the client,
and the server’s.
Fields§
§client: Deferred<MutationOutcome>Settles when the mutator has run on the client: what it returned, or what it raised.
server: Deferred<MutationOutcome>Settles when the server has run the mutation, or when the client can’t learn its result.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for MutatorResult
impl !Send for MutatorResult
impl !Sync for MutatorResult
impl !UnwindSafe for MutatorResult
impl Forget for MutatorResult
impl Freeze for MutatorResult
impl Move for MutatorResult
impl Unpin for MutatorResult
impl UnsafeUnpin for MutatorResult
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