Trait MobileWifiAwareBridge
Source pub trait MobileWifiAwareBridge: Send + Sync {
// Required methods
fn start<'life0, 'async_trait>(
&'life0 self,
local_peer_id: String,
) -> Pin<Box<dyn Future<Output = Result<Receiver<WifiAwareEvent>, Error>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn broadcast_message<'life0, 'async_trait>(
&'life0 self,
payload: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
}