Struct tracing_forest::runtime::InnerSender
source · pub struct InnerSender<P>(_);
Expand description
The Processor
used within a tracing-forest
subscriber for sending logs
to a processing task.
This type cannot be constructed by downstream users.
Trait Implementations§
source§impl<P: Debug> Debug for InnerSender<P>
impl<P: Debug> Debug for InnerSender<P>
source§impl<P: Processor> Processor for InnerSender<P>
impl<P: Processor> Processor for InnerSender<P>
source§fn or<P: Processor>(self, processor: P) -> WithFallback<Self, P>
fn or<P: Processor>(self, processor: P) -> WithFallback<Self, P>
Returns a
Processor
that first attempts processing with self
, and
resorts to processing with fallback
on failure. Read moresource§fn or_stdout(self) -> WithFallback<Self, Printer<Pretty, MakeStdout>>
fn or_stdout(self) -> WithFallback<Self, Printer<Pretty, MakeStdout>>
Returns a
Processor
that first attempts processing with self
, and
resorts to pretty-printing to stdout on failure.source§fn or_stderr(self) -> WithFallback<Self, Printer<Pretty, MakeStderr>>
fn or_stderr(self) -> WithFallback<Self, Printer<Pretty, MakeStderr>>
Returns a
Processor
that first attempts processing with self
, and
resorts to pretty-printing to stderr on failure.source§fn or_none(self) -> WithFallback<Self, Sink>
fn or_none(self) -> WithFallback<Self, Sink>
Returns a
Processor
that first attempts processing with self
, otherwise
silently fails.Auto Trait Implementations§
impl<P> RefUnwindSafe for InnerSender<P>where P: RefUnwindSafe,
impl<P> Send for InnerSender<P>where P: Send,
impl<P> Sync for InnerSender<P>where P: Sync,
impl<P> Unpin for InnerSender<P>where P: Unpin,
impl<P> UnwindSafe for InnerSender<P>where P: UnwindSafe,
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