pub struct Noop;Expand description
Default context that does nothing by default
Trait Implementations§
Source§impl LayerContext for Noop
impl LayerContext for Noop
Source§const INSPECT_HEADERS: &'static [&'static HeaderName]
const INSPECT_HEADERS: &'static [&'static HeaderName]
Specifies list of headers you want to inspect via
http.headers attributeSource§fn on_request<T>(&self, span: &Span, request: &Request<T>)
fn on_request<T>(&self, span: &Span, request: &Request<T>)
Callback to be called on incoming request Read more
impl Copy for Noop
Auto Trait Implementations§
impl Freeze for Noop
impl RefUnwindSafe for Noop
impl Send for Noop
impl Sync for Noop
impl Unpin for Noop
impl UnwindSafe for Noop
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more