fidl_examples_canvas_clientrequesteddraw

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§

Source

type ReadyResponseFut: Future<Output = Result<(), Error>> + Send

Required Methods§

Source

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

Source

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

Implementors§