pub trait ErrorHandler<D>:
Send
+ 'static
+ Sync {
// Required method
fn handle_error(
&self,
_: &mut NickelError<'_, D>,
_: &mut Request<'_, '_, D>,
) -> Action;
}
pub trait ErrorHandler<D>:
Send
+ 'static
+ Sync {
// Required method
fn handle_error(
&self,
_: &mut NickelError<'_, D>,
_: &mut Request<'_, '_, D>,
) -> Action;
}