pub struct OperationControl { /* private fields */ }Expand description
Independent lifecycle capability exposing only authorized inspection and cancellation.
Implementations§
Source§impl OperationControl
impl OperationControl
pub async fn get( &self, owner: &str, operation: &OperationRef, events: Option<&PageRequest>, ) -> Result<OperationDetail, ProtocolError>
pub async fn cancel( &self, owner: &str, operation: &OperationRef, ) -> Result<OperationSummary, ProtocolError>
pub async fn result( &self, owner: &str, operation: &OperationRef, ) -> Result<OperationResult, ProtocolError>
Auto Trait Implementations§
impl Freeze for OperationControl
impl RefUnwindSafe for OperationControl
impl Send for OperationControl
impl Sync for OperationControl
impl Unpin for OperationControl
impl UnsafeUnpin for OperationControl
impl UnwindSafe for OperationControl
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