Struct mz_ore::tracing::StderrFilterCallback
source · [−]pub struct StderrFilterCallback {
callback: Arc<dyn Fn(Targets) -> Result<(), Error> + Send + Sync>,
}
Available on crate feature
tracing
only.Expand description
A callback that can be used to modify stderr logging filters
Fields
callback: Arc<dyn Fn(Targets) -> Result<(), Error> + Send + Sync>
Implementations
Trait Implementations
sourceimpl Clone for StderrFilterCallback
impl Clone for StderrFilterCallback
Auto Trait Implementations
impl !RefUnwindSafe for StderrFilterCallback
impl Send for StderrFilterCallback
impl Sync for StderrFilterCallback
impl Unpin for StderrFilterCallback
impl !UnwindSafe for StderrFilterCallback
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
sourceimpl<T> FutureExt for T
impl<T> FutureExt for T
sourcefn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
sourcefn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request