pub trait ProcessProbe: Send + Sync {
// Required methods
fn listener<'life0, 'life1, 'async_trait>(
&'life0 self,
port: u16,
host: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Listener, StateError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn process<'life0, 'async_trait>(
&'life0 self,
pid: u32,
) -> Pin<Box<dyn Future<Output = Result<ProcessIdentity, StateError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
// Provided method
fn command_line<'life0, 'async_trait>(
&'life0 self,
_pid: u32,
) -> Pin<Box<dyn Future<Output = Result<Vec<String>, StateError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
}Required Methods§
fn listener<'life0, 'life1, 'async_trait>(
&'life0 self,
port: u16,
host: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Listener, StateError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn process<'life0, 'async_trait>(
&'life0 self,
pid: u32,
) -> Pin<Box<dyn Future<Output = Result<ProcessIdentity, StateError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".