Struct poem::middleware::FnMiddleware
source · [−]pub struct FnMiddleware<T>(_);
Expand description
A middleware implemented by a closure.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for FnMiddleware<T> where
T: RefUnwindSafe,
impl<T> Send for FnMiddleware<T> where
T: Send,
impl<T> Sync for FnMiddleware<T> where
T: Sync,
impl<T> Unpin for FnMiddleware<T> where
T: Unpin,
impl<T> UnwindSafe for FnMiddleware<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more