pub struct WallClock {
pub ttft_ms: i64,
pub total_ms: i64,
}Expand description
The marks the driver takes around one run, in milliseconds: when the first token arrived and when the stream ended, both measured from the request.
Fields§
§ttft_ms: i64Request to first token.
total_ms: i64Request to the end of the stream.
Trait Implementations§
impl Copy for WallClock
impl Eq for WallClock
impl StructuralPartialEq for WallClock
Auto Trait Implementations§
impl Freeze for WallClock
impl RefUnwindSafe for WallClock
impl Send for WallClock
impl Sync for WallClock
impl Unpin for WallClock
impl UnsafeUnpin for WallClock
impl UnwindSafe for WallClock
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