pub struct InvokeMetric {
pub step: u64,
pub node_id: String,
pub brick_id: String,
pub result_type: String,
pub latency_ms: f64,
pub envelope_bytes: usize,
pub result_bytes: Option<usize>,
}Expand description
Per-invoke metric emitted to hooks.
Fields§
§step: u64§node_id: String§brick_id: String§result_type: String§latency_ms: f64§envelope_bytes: usize§result_bytes: Option<usize>Auto Trait Implementations§
impl Freeze for InvokeMetric
impl RefUnwindSafe for InvokeMetric
impl Send for InvokeMetric
impl Sync for InvokeMetric
impl Unpin for InvokeMetric
impl UnsafeUnpin for InvokeMetric
impl UnwindSafe for InvokeMetric
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more