Skip to main content

InstanceProxyInterface

Trait InstanceProxyInterface 

Source
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§

Source

fn add_lines(&self, lines: &[[Point; 2]]) -> Result<(), Error>

Source

fn ready(&self) -> Self::ReadyResponseFut

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§