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
Source§fn clone(&self) -> LatencyProfile
fn clone(&self) -> LatencyProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl 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<LatencyProfile, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LatencyProfile, <__D as Deserializer<'de>>::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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LatencyProfile
Auto Trait Implementations§
impl Freeze 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