pub trait Invoker {
// Required methods
fn invoke<M1>(&self, req: Request<M1>) -> Response<String>
where M1: Send + 'static;
fn is_available(&self) -> bool;
fn destroy(&self);
fn get_url(&self) -> Url;
}Required Methods§
fn invoke<M1>(&self, req: Request<M1>) -> Response<String>where
M1: Send + 'static,
fn is_available(&self) -> bool
fn destroy(&self)
fn get_url(&self) -> Url
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.