pub trait Transport: Clone {
type Out: Future<Output = Result<Vec<u8>>>;
// Required method
fn execute(
&self,
method: &'static str,
params: Vec<&'_ dyn Serialize>
) -> Self::Out;
}Expand description
Transport implementation
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.