1 2 3 4 5 6
pub trait WalletIsConnectedPort: Send + Sync { type Output; type Error; fn wallet_is_connected(&self) -> impl Future<Output = Result<Self::Output, Self::Error>>; }