Struct nickel::DefaultErrorHandler
source · pub struct DefaultErrorHandler;
Trait Implementations
sourceimpl Clone for DefaultErrorHandler
impl Clone for DefaultErrorHandler
sourcefn clone(&self) -> DefaultErrorHandler
fn clone(&self) -> DefaultErrorHandler
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<D> ErrorHandler<D> for DefaultErrorHandler
impl<D> ErrorHandler<D> for DefaultErrorHandler
fn handle_error(
&self,
err: &mut NickelError<'_, D>,
_req: &mut Request<'_, '_, D>
) -> Action
impl Copy for DefaultErrorHandler
Auto Trait Implementations
impl RefUnwindSafe for DefaultErrorHandler
impl Send for DefaultErrorHandler
impl Sync for DefaultErrorHandler
impl Unpin for DefaultErrorHandler
impl UnwindSafe for DefaultErrorHandler
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more