Trait API

Source
pub trait API {
    // Required methods
    fn execute(&self, req: Request) -> Result<Response, Box<dyn Error>>;
    fn compile(&self, req: Request) -> Result<Response, Box<dyn Error>>;
    fn fmt(&self, req: Request) -> Result<Response, Box<dyn Error>>;
    fn share(&self, req: Request) -> Result<Response, Box<dyn Error>>;
    fn download(&self, req: Request) -> Result<Response, Box<dyn Error>>;
}

Required Methods§

Source

fn execute(&self, req: Request) -> Result<Response, Box<dyn Error>>

Source

fn compile(&self, req: Request) -> Result<Response, Box<dyn Error>>

Source

fn fmt(&self, req: Request) -> Result<Response, Box<dyn Error>>

Source

fn share(&self, req: Request) -> Result<Response, Box<dyn Error>>

Source

fn download(&self, req: Request) -> Result<Response, Box<dyn Error>>

Implementors§