Updated Crystal API (markdown)
@@ -7,6 +7,7 @@ in the trait.
|
||||
#[async_trait]
|
||||
pub trait Application {
|
||||
fn new() -> Self;
|
||||
|
||||
async fn run(&mut self, _: Vec<String>) -> Result<(), Error> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user