pub struct OperationManager { /* private fields */ }Implementations§
Source§impl OperationManager
impl OperationManager
pub fn in_directory(directory: PathBuf) -> Self
pub async fn submit( &self, page: Page, id: String, action: Action, options: ActionOptions, ) -> Result<OperationRecord>
pub async fn get(&self, id: &str) -> Result<OperationRecord>
pub async fn list( &self, args: OperationListArgs, ) -> Result<Vec<OperationRecord>>
pub async fn wait(&self, id: &str, timeout_ms: u64) -> Result<OperationRecord>
pub async fn cancel(&self, id: &str) -> Result<OperationRecord>
pub async fn stop(&self)
pub fn is_active(&self) -> bool
Trait Implementations§
Source§impl Clone for OperationManager
impl Clone for OperationManager
Auto Trait Implementations§
impl !RefUnwindSafe for OperationManager
impl !UnwindSafe for OperationManager
impl Freeze for OperationManager
impl Send for OperationManager
impl Sync for OperationManager
impl Unpin for OperationManager
impl UnsafeUnpin for OperationManager
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