pub trait Invoke: Send + Sync {
type Context: Send + Sync;
// Required method
fn invoke<P>(
&self,
cx: Self::Context,
instance: &str,
func: &str,
params: Bytes,
paths: impl AsRef<[P]> + Send,
) -> impl Future<Output = Result<(Outgoing, Incoming), Error>> + Send
where P: AsRef<[Option<usize>]> + Send + Sync;
}Expand description
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".