pub trait InstanceProxyInterface: Send + Sync {
type ReadyResponseFut: Future<Output = Result<(), Error>> + Send;
// Required methods
fn add_lines(&self, lines: &[[Point; 2]]) -> Result<(), Error>;
fn ready(&self) -> Self::ReadyResponseFut;
}Required Associated Types§
Required Methods§
fn add_lines(&self, lines: &[[Point; 2]]) -> Result<(), Error>
fn ready(&self) -> Self::ReadyResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".