Struct mz_prof::http::FlamegraphTemplate
source · [−]struct FlamegraphTemplate<'a> {
version: &'a str,
title: &'a str,
data_json: &'a str,
display_bytes: bool,
extras: &'a [&'a str],
}
Fields
version: &'a str
title: &'a str
data_json: &'a str
display_bytes: bool
extras: &'a [&'a str]
Trait Implementations
sourceimpl<'a> Display for FlamegraphTemplate<'a>
impl<'a> Display for FlamegraphTemplate<'a>
sourceimpl<'a> Template for FlamegraphTemplate<'a>
impl<'a> Template for FlamegraphTemplate<'a>
sourcefn render_into(&self, writer: &mut impl Write + ?Sized) -> Result<()>
fn render_into(&self, writer: &mut impl Write + ?Sized) -> Result<()>
Renders the template to the given writer
buffer
sourceconst SIZE_HINT: usize = 112usize
const SIZE_HINT: usize = 112usize
Provides a conservative estimate of the expanded length of the rendered template
Auto Trait Implementations
impl<'a> RefUnwindSafe for FlamegraphTemplate<'a>
impl<'a> Send for FlamegraphTemplate<'a>
impl<'a> Sync for FlamegraphTemplate<'a>
impl<'a> Unpin for FlamegraphTemplate<'a>
impl<'a> UnwindSafe for FlamegraphTemplate<'a>
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
sourceimpl<T> DisplayExt for T where
T: Display,
impl<T> DisplayExt for T where
T: Display,
sourcefn to_string_alt(&self) -> String
fn to_string_alt(&self) -> String
Formats an object with the “alternative” format ({:#}
) and returns it.
sourceimpl<T> DynTemplate for T where
T: Template,
impl<T> DynTemplate for T where
T: Template,
sourcefn dyn_render(&self) -> Result<String, Error>
fn dyn_render(&self) -> Result<String, Error>
Helper method which allocates a new String
and renders into it
sourcefn dyn_render_into(&self, writer: &mut dyn Write) -> Result<(), Error>
fn dyn_render_into(&self, writer: &mut dyn Write) -> Result<(), Error>
Renders the template to the given writer
buffer
sourcefn extension(&self) -> Option<&'static str>
fn extension(&self) -> Option<&'static str>
Helper function to inspect the template’s extension
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
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more