[][src]Struct reqray::CallTreeCollector

pub struct CallTreeCollector<H: FinishedCallTreeProcessor + 'static> { /* fields omitted */ }

A tracing::Subscriber which collects call trees and hands finished trees to a FinishedCallTreeProcessor.

Use CallTreeCollector::default() if you want to log all call trees with the standard configuration.

Use CallTreeCollectorBuilder together with e.g. LoggingCallTreeCollectorBuilder to customize your setup.

Trait Implementations

impl Default for CallTreeCollector<LoggingCallTreeCollector>[src]

impl<S, H> Layer<S> for CallTreeCollector<H> where
    S: Subscriber + for<'span> LookupSpan<'span> + Debug,
    H: FinishedCallTreeProcessor + 'static, 
[src]

Auto Trait Implementations

impl<H> RefUnwindSafe for CallTreeCollector<H> where
    H: RefUnwindSafe
[src]

impl<H> Send for CallTreeCollector<H> where
    H: Send
[src]

impl<H> Sync for CallTreeCollector<H> where
    H: Sync
[src]

impl<H> Unpin for CallTreeCollector<H> where
    H: Unpin
[src]

impl<H> UnwindSafe for CallTreeCollector<H> where
    H: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.