Trait xwt_core::traits::Connecting
source · pub trait Connecting: Send {
type Connection: Send;
type Error: Error + Send + Sync + 'static;
// Required method
fn wait_connect(
self
) -> impl Future<Output = Result<Self::Connection, Self::Error>> + Send;
}Required Associated Types§
Required Methods§
fn wait_connect( self ) -> impl Future<Output = Result<Self::Connection, Self::Error>> + Send
Object Safety§
This trait is not object safe.