pub trait Drought {
fn handle<'a>(
&'a self,
original_path: &'a Vec<String>,
path: &'a Vec<String>,
req: &'a Request<Vec<u8>>,
map: Matches
) -> Pin<Box<dyn Future<Output = DroughtResult> + 'a>>;
}
Expand description
A trait to be impl
emented by any part of the resource tree.
See the module-level docs for more.