pub enum MetricsMsg {
RecordSuccess {
deployment: String,
usage: TokenUsage,
cost_usd: f64,
},
RecordFailure {
deployment: String,
kind: FailureKind,
},
Snapshot {
reply: Sender<MetricsSnapshot>,
},
}Variants§
Auto Trait Implementations§
impl Freeze for MetricsMsg
impl !RefUnwindSafe for MetricsMsg
impl Send for MetricsMsg
impl Sync for MetricsMsg
impl Unpin for MetricsMsg
impl UnsafeUnpin for MetricsMsg
impl !UnwindSafe for MetricsMsg
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