pub struct NoopTextMapPropagator { /* private fields */ }Expand description
A no-op instance of an TextMapPropagator.
Implementations§
Trait Implementations§
Source§impl Debug for NoopTextMapPropagator
impl Debug for NoopTextMapPropagator
Source§impl Default for NoopTextMapPropagator
impl Default for NoopTextMapPropagator
Source§impl TextMapPropagator for NoopTextMapPropagator
impl TextMapPropagator for NoopTextMapPropagator
Source§fn inject_context(&self, _cx: &Context, _injector: &mut dyn Injector)
fn inject_context(&self, _cx: &Context, _injector: &mut dyn Injector)
Source§fn fields(&self) -> FieldIter<'_> ⓘ
fn fields(&self) -> FieldIter<'_> ⓘ
Returns iter of fields used by
TextMapPropagatorAuto Trait Implementations§
impl Forget for NoopTextMapPropagator
impl Freeze for NoopTextMapPropagator
impl Move for NoopTextMapPropagator
impl RefUnwindSafe for NoopTextMapPropagator
impl Send for NoopTextMapPropagator
impl Sync for NoopTextMapPropagator
impl Unpin for NoopTextMapPropagator
impl UnsafeUnpin for NoopTextMapPropagator
impl UnwindSafe for NoopTextMapPropagator
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