pub struct DurableOperationHandle {
pub key: SelectionKey,
pub index: usize,
pub kind: String,
pub identity: String,
pub base_sequence: u64,
pub size: usize,
pub selection_group_id: String,
/* private fields */
}Expand description
Stable reference to one member of a durable selection group.
Fields§
§key: SelectionKey§index: usize§kind: String§identity: String§base_sequence: u64§size: usize§selection_group_id: StringImplementations§
Source§impl DurableOperationHandle
impl DurableOperationHandle
Sourcepub fn await_result(&self) -> DurableOperationAwaitCall ⓘ
pub fn await_result(&self) -> DurableOperationAwaitCall ⓘ
Await this member after another member has already won the selection.
Sourcepub fn cancel(&self) -> CancelDurableOperationCall ⓘ
pub fn cancel(&self) -> CancelDurableOperationCall ⓘ
Request cancellation without affecting siblings. The future resolves
to unit; only SelectionOperationCancelled history proves cancellation
beat a concurrently committed terminal result.
Trait Implementations§
Source§impl Clone for DurableOperationHandle
impl Clone for DurableOperationHandle
Auto Trait Implementations§
impl Forget for DurableOperationHandle
impl Freeze for DurableOperationHandlewhere
*const ArcInner<Mutex<WorkflowState>> is !null: Freeze,
PhantomData<ArcInner<Mutex<WorkflowState>>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<ParallelShape>: Freeze,
impl Move for DurableOperationHandle
impl RefUnwindSafe for DurableOperationHandle
impl Send for DurableOperationHandle
impl Sync for DurableOperationHandle
impl Unpin for DurableOperationHandle
impl UnsafeUnpin for DurableOperationHandlewhere
*const ArcInner<Mutex<WorkflowState>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Mutex<WorkflowState>>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ParallelShape>: UnsafeUnpin,
impl UnwindSafe for DurableOperationHandle
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