Struct tracing_stackdriver::Stackdriver
source · [−]pub struct Stackdriver;Expand description
A tracing adapater for stackdriver
Implementations
sourceimpl Stackdriver
impl Stackdriver
sourcepub fn layer<S>() -> Layer<S, JsonFields, Stackdriver> where
S: Subscriber + for<'span> LookupSpan<'span>,
pub fn layer<S>() -> Layer<S, JsonFields, Stackdriver> where
S: Subscriber + for<'span> LookupSpan<'span>,
Create a Layer that uses the Stackdriver format
Trait Implementations
sourceimpl<S> FormatEvent<S, JsonFields> for Stackdriver where
S: Subscriber + for<'span> LookupSpan<'span>,
impl<S> FormatEvent<S, JsonFields> for Stackdriver where
S: Subscriber + for<'span> LookupSpan<'span>,
sourcefn format_event(
&self,
context: &FmtContext<'_, S, JsonFields>,
writer: Writer<'_>,
event: &Event<'_>
) -> Result where
S: Subscriber + for<'span> LookupSpan<'span>,
fn format_event(
&self,
context: &FmtContext<'_, S, JsonFields>,
writer: Writer<'_>,
event: &Event<'_>
) -> Result where
S: Subscriber + for<'span> LookupSpan<'span>,
Write a log message for Event in Context to the given Writer.
Auto Trait Implementations
impl RefUnwindSafe for Stackdriver
impl Send for Stackdriver
impl Sync for Stackdriver
impl Unpin for Stackdriver
impl UnwindSafe for Stackdriver
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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