pub struct ProcessAwaiter { /* private fields */ }Implementations§
Source§impl ProcessAwaiter
impl ProcessAwaiter
pub fn new(registry: Arc<dyn ProcessRegistry>, hub: ProcessChangeHub) -> Self
pub fn polling(registry: Arc<dyn ProcessRegistry>) -> Self
pub async fn await_terminal( &self, process_id: &str, ) -> Result<ProcessAwaitOutput, PluginError>
pub async fn await_event( &self, process_id: &str, event_type: &str, after_sequence: u64, ) -> Result<ProcessEvent, PluginError>
Trait Implementations§
Source§impl Clone for ProcessAwaiter
impl Clone for ProcessAwaiter
Source§fn clone(&self) -> ProcessAwaiter
fn clone(&self) -> ProcessAwaiter
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for ProcessAwaiter
impl !UnwindSafe for ProcessAwaiter
impl Freeze for ProcessAwaiter
impl Send for ProcessAwaiter
impl Sync for ProcessAwaiter
impl Unpin for ProcessAwaiter
impl UnsafeUnpin for ProcessAwaiter
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