Struct poem::endpoint::CatchAllError
source · pub struct CatchAllError<E, F, R> { /* private fields */ }
Expand description
Endpoint for the catch_all_error
method.
Trait Implementations
sourceimpl<E, F, Fut, R> Endpoint for CatchAllError<E, F, R>where
E: Endpoint,
F: Fn(Error) -> Fut + Send + Sync,
Fut: Future<Output = R> + Send,
R: IntoResponse + Send + Sync,
impl<E, F, Fut, R> Endpoint for CatchAllError<E, F, R>where
E: Endpoint,
F: Fn(Error) -> Fut + Send + Sync,
Fut: Future<Output = R> + Send,
R: IntoResponse + Send + Sync,
Auto Trait Implementations
impl<E, F, R> RefUnwindSafe for CatchAllError<E, F, R>where
E: RefUnwindSafe,
F: RefUnwindSafe,
R: RefUnwindSafe,
impl<E, F, R> Send for CatchAllError<E, F, R>where
E: Send,
F: Send,
R: Send,
impl<E, F, R> Sync for CatchAllError<E, F, R>where
E: Sync,
F: Sync,
R: Sync,
impl<E, F, R> Unpin for CatchAllError<E, F, R>where
E: Unpin,
F: Unpin,
R: Unpin,
impl<E, F, R> UnwindSafe for CatchAllError<E, F, R>where
E: UnwindSafe,
F: UnwindSafe,
R: UnwindSafe,
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