pub enum LatencyProfile {
Fast,
Medium,
Slow,
}Expand description
A coarse latency expectation (CONTEXT.md §8, §21). Harness workers spawn a
process and wait on model think time, so they are inherently slower than a
raw API call.
Variants§
Fast
Raw API call, low latency.
Medium
Typical harness round-trip.
Slow
Heavy or known-slow harness.
Trait Implementations§
Source§impl Clone for LatencyProfile
impl Clone for LatencyProfile
impl Copy for LatencyProfile
Source§impl Debug for LatencyProfile
impl Debug for LatencyProfile
Source§impl<'de> Deserialize<'de> for LatencyProfile
impl<'de> Deserialize<'de> for LatencyProfile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LatencyProfile
Source§impl PartialEq for LatencyProfile
impl PartialEq for LatencyProfile
Source§impl Serialize for LatencyProfile
impl Serialize for LatencyProfile
impl StructuralPartialEq for LatencyProfile
Auto Trait Implementations§
impl Forget for LatencyProfile
impl Freeze for LatencyProfile
impl Move for LatencyProfile
impl RefUnwindSafe for LatencyProfile
impl Send for LatencyProfile
impl Sync for LatencyProfile
impl Unpin for LatencyProfile
impl UnsafeUnpin for LatencyProfile
impl UnwindSafe for LatencyProfile
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