Trait MuxBackendExt

Source
pub trait MuxBackendExt: MuxBackend {
    // Provided methods
    fn set_resource_limits<'life0, 'life1, 'async_trait>(
        &'life0 self,
        _pane_id: &'life1 str,
        _limits: ResourceLimits,
    ) -> Pin<Box<dyn Future<Output = Result<(), MuxError>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait { ... }
    fn subscribe_events<'life0, 'life1, 'async_trait>(
        &'life0 self,
        _pane_id: &'life1 str,
    ) -> Pin<Box<dyn Future<Output = Result<EventStream, MuxError>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait { ... }
    fn get_metrics<'life0, 'life1, 'async_trait>(
        &'life0 self,
        _pane_id: &'life1 str,
    ) -> Pin<Box<dyn Future<Output = Result<PaneMetrics, MuxError>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait { ... }
}
Expand description

Optional extended capabilities that some backends may support

Provided Methods§

Source

fn set_resource_limits<'life0, 'life1, 'async_trait>( &'life0 self, _pane_id: &'life1 str, _limits: ResourceLimits, ) -> Pin<Box<dyn Future<Output = Result<(), MuxError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Set resource limits for a pane (muxd only)

Source

fn subscribe_events<'life0, 'life1, 'async_trait>( &'life0 self, _pane_id: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<EventStream, MuxError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Subscribe to pane events (muxd only)

Source

fn get_metrics<'life0, 'life1, 'async_trait>( &'life0 self, _pane_id: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<PaneMetrics, MuxError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Get performance metrics for a pane (muxd only)

Implementors§