pub struct OutputSignal {
pub uuid: Uuid,
pub token_id: Option<Token>,
pub completed: bool,
pub rejected: bool,
pub handoff_delay_ms: Option<f64>,
}Expand description
Signal for output token generation with completion status
Fields§
§uuid: Uuid§token_id: Option<Token>§completed: boolTerminal flag: the request’s lifecycle has ended. Replay drivers free resources and advance/notify on this.
rejected: boolSet with completed when the request was rejected without ever running
(its footprint exceeds the whole KV pool); drivers free/advance but
exclude it from token/latency/throughput stats.
handoff_delay_ms: Option<f64>Trait Implementations§
Source§impl Clone for OutputSignal
impl Clone for OutputSignal
Source§fn clone(&self) -> OutputSignal
fn clone(&self) -> OutputSignal
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 moreSource§impl Debug for OutputSignal
impl Debug for OutputSignal
Source§impl<'de> Deserialize<'de> for OutputSignal
impl<'de> Deserialize<'de> for OutputSignal
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
Auto Trait Implementations§
impl Freeze for OutputSignal
impl RefUnwindSafe for OutputSignal
impl Send for OutputSignal
impl Sync for OutputSignal
impl Unpin for OutputSignal
impl UnsafeUnpin for OutputSignal
impl UnwindSafe for OutputSignal
Blanket Implementations§
impl<T> BlockMetadata for T
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