pub enum PendingOperation {
Generation {
operation: OperationId,
},
Tools {
operation: OperationId,
},
}Expand description
Durable intent. A tool intent without its result is an unknown external effect after restart, even when dispatch may not actually have begun.
Variants§
Trait Implementations§
Source§impl Clone for PendingOperation
impl Clone for PendingOperation
Source§fn clone(&self) -> PendingOperation
fn clone(&self) -> PendingOperation
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 moreimpl Copy for PendingOperation
Source§impl Debug for PendingOperation
impl Debug for PendingOperation
Source§impl<'de> Deserialize<'de> for PendingOperation
impl<'de> Deserialize<'de> for PendingOperation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PendingOperation
Source§impl PartialEq for PendingOperation
impl PartialEq for PendingOperation
Source§fn eq(&self, other: &PendingOperation) -> bool
fn eq(&self, other: &PendingOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PendingOperation
impl Serialize for PendingOperation
impl StructuralPartialEq for PendingOperation
Auto Trait Implementations§
impl Freeze for PendingOperation
impl RefUnwindSafe for PendingOperation
impl Send for PendingOperation
impl Sync for PendingOperation
impl Unpin for PendingOperation
impl UnsafeUnpin for PendingOperation
impl UnwindSafe for PendingOperation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.