pub struct CommandProcessInspector<E> { /* private fields */ }Expand description
Process inspector backed by a fleet command executor.
Implementations§
Trait Implementations§
Source§impl<E> ProcessInspector for CommandProcessInspector<E>where
E: CommandExecutor,
impl<E> ProcessInspector for CommandProcessInspector<E>where
E: CommandExecutor,
Source§fn list_processes<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
host: &'life1 HostRecord,
request: &'life2 ProcessListRequest,
cancellation: &'life3 CancellationToken,
) -> Pin<Box<dyn Future<Output = InfraResult<ProcessSnapshot>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn list_processes<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
host: &'life1 HostRecord,
request: &'life2 ProcessListRequest,
cancellation: &'life3 CancellationToken,
) -> Pin<Box<dyn Future<Output = InfraResult<ProcessSnapshot>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Lists and parses a bounded process snapshot.
Auto Trait Implementations§
impl<E> Freeze for CommandProcessInspector<E>
impl<E> RefUnwindSafe for CommandProcessInspector<E>where
E: RefUnwindSafe,
impl<E> Send for CommandProcessInspector<E>
impl<E> Sync for CommandProcessInspector<E>
impl<E> Unpin for CommandProcessInspector<E>
impl<E> UnsafeUnpin for CommandProcessInspector<E>
impl<E> UnwindSafe for CommandProcessInspector<E>where
E: RefUnwindSafe,
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