pub trait Connection {
fn is_connected<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn get_connected<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Address> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn stop_recording<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn get_buffer<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Option<Vec<Move>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn record_to_buffer<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn record_to_files<'life0, 'life1, 'async_trait>(
&'life0 mut self,
stem: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
}