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§
Sourcefn 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 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)