pub enum RunObservation {
LlmCall(LlmCallObservation),
RoutingOverhead(Duration),
}Expand description
One request-scoped observation emitted by the algorithm runner.
Variants§
LlmCall(LlmCallObservation)
A completed model call.
RoutingOverhead(Duration)
Routing time recorded by the switchyard.routing_overhead_ms metric.
Trait Implementations§
Source§impl Clone for RunObservation
impl Clone for RunObservation
Source§fn clone(&self) -> RunObservation
fn clone(&self) -> RunObservation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RunObservation
impl RefUnwindSafe for RunObservation
impl Send for RunObservation
impl Sync for RunObservation
impl Unpin for RunObservation
impl UnsafeUnpin for RunObservation
impl UnwindSafe for RunObservation
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