Struct stack_test_epic_api::LoggingMiddleware
source · [−]pub struct LoggingMiddleware {}
Trait Implementations
sourceimpl Handler for LoggingMiddleware
impl Handler for LoggingMiddleware
fn call(
&self,
req: Request<Body>,
handlers: Box<dyn Iterator<Item = HandlerObj>>
) -> ResponseFuture
fn get(&self, _req: Request<Body>) -> ResponseFuture
fn post(&self, _req: Request<Body>) -> ResponseFuture
fn put(&self, _req: Request<Body>) -> ResponseFuture
fn patch(&self, _req: Request<Body>) -> ResponseFuture
fn delete(&self, _req: Request<Body>) -> ResponseFuture
fn head(&self, _req: Request<Body>) -> ResponseFuture
fn options(&self, _req: Request<Body>) -> ResponseFuture
fn trace(&self, _req: Request<Body>) -> ResponseFuture
fn connect(&self, _req: Request<Body>) -> ResponseFuture
Auto Trait Implementations
impl RefUnwindSafe for LoggingMiddleware
impl Send for LoggingMiddleware
impl Sync for LoggingMiddleware
impl Unpin for LoggingMiddleware
impl UnwindSafe for LoggingMiddleware
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
impl<T> SafeBorrow<T> for T where
T: ?Sized,
impl<T> SafeBorrow<T> for T where
T: ?Sized,
fn borrow_replacement(ptr: &T) -> &T
fn borrow_replacement(ptr: &T) -> &T
Given ptr
, which was obtained from a prior call to Self::borrow()
,
return a value with the same nominal lifetime which is guaranteed to
survive mutations to Self
. Read more