pub trait HostLink: Send + Sync {
// Required methods
fn call(&self, method: &str, params: Value) -> Result<Value, ServiceError>;
fn is_closed(&self) -> bool;
fn close(&self);
}Expand description
A connection to exactly one host generation, as the lifecycle uses it.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".