pub trait RelayConnObserver {
fn turn_server_addr(&self) -> String;
fn username(&self) -> Username;
fn realm(&self) -> Realm;
fn write_to<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
data: &'life1 [u8],
to: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait;
fn perform_transaction<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
msg: &'life1 Message,
to: &'life2 str,
ignore_result: bool
) -> Pin<Box<dyn Future<Output = Result<TransactionResult>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait;
}