Trait MonitorHost
Source pub trait MonitorHost: Send + Sync {
// Provided methods
fn monitor_snapshot<'life0, 'life1, 'async_trait>(
&'life0 self,
_session_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<MonitorSnapshot, PluginError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
fn take_monitor_updates<'life0, 'life1, 'async_trait>(
&'life0 self,
_session_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<MonitorUpdateBatch, PluginError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
fn start_monitor<'life0, 'life1, 'async_trait>(
&'life0 self,
_session_id: &'life1 str,
_spec: MonitorSpec,
) -> Pin<Box<dyn Future<Output = Result<MonitorSnapshot, PluginError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
fn stop_monitor<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_session_id: &'life1 str,
_monitor_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<MonitorSnapshot, PluginError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait { ... }
}