pub trait ClientConnExt: Sized {
// Required method
fn success_or_error(
self,
) -> Pin<Box<dyn Future<Output = ClientResult<Self>> + Send + 'static>>;
}
Required Methods§
fn success_or_error( self, ) -> Pin<Box<dyn Future<Output = ClientResult<Self>> + Send + 'static>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.