pub enum RequestOutcome {
Success {
latency_ms: u64,
},
Failure {
error_kind: ErrorKind,
latency_ms: u64,
},
}Expand description
Represents the outcome of a forwarded request for metrics tracking.
Variants§
Auto Trait Implementations§
impl Freeze for RequestOutcome
impl RefUnwindSafe for RequestOutcome
impl Send for RequestOutcome
impl Sync for RequestOutcome
impl Unpin for RequestOutcome
impl UnwindSafe for RequestOutcome
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