pub struct PanelUnit<'a> {
pub label: &'a str,
pub histogram: &'a Histogram<u64>,
pub interval: Duration,
}Expand description
One unit’s data for the panel: its label, the snapshot, and the snapshot’s covered duration (so the header line can name the window).
Fields§
§label: &'a str§histogram: &'a Histogram<u64>§interval: DurationAuto Trait Implementations§
impl<'a> Freeze for PanelUnit<'a>
impl<'a> RefUnwindSafe for PanelUnit<'a>
impl<'a> Send for PanelUnit<'a>
impl<'a> Sync for PanelUnit<'a>
impl<'a> Unpin for PanelUnit<'a>
impl<'a> UnsafeUnpin for PanelUnit<'a>
impl<'a> UnwindSafe for PanelUnit<'a>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request