pub trait TransportExt {
// Required method
fn call<'a, T: DeserializeOwned>(
&'a self,
method: &'a str,
params: &'a [Value],
) -> Pin<Box<dyn Future<Output = Result<T, TransportError>> + Send + 'a>>;
}Required Methods§
fn call<'a, T: DeserializeOwned>( &'a self, method: &'a str, params: &'a [Value], ) -> Pin<Box<dyn Future<Output = Result<T, TransportError>> + Send + 'a>>
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.