Trait xwt_core::traits::Connecting
source · pub trait Connecting: Send {
type Connection: Send;
type Error: Error + Send + Sync + 'static;
// Required method
fn wait_connect<'async_trait>(
self
) -> Pin<Box<dyn Future<Output = Result<Self::Connection, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait;
}