pub trait FileOps: Send + Sync {
// Required methods
fn upload(&self, body: &str) -> (u16, String);
fn get_file(&self, id: &str) -> (u16, String);
}Expand description
File storage operations used by the router.
pub trait FileOps: Send + Sync {
// Required methods
fn upload(&self, body: &str) -> (u16, String);
fn get_file(&self, id: &str) -> (u16, String);
}File storage operations used by the router.