pub struct CallDecision {
pub algorithm: String,
pub request: DecisionRequest,
pub model: ModelId,
/* private fields */
}Expand description
A host-owned decision call. Dropping it without replying yields DriverError::ResponseDropped.
Completion or drop records one call and its duration, including time waiting for the host.
Fields§
§algorithm: StringAlgorithm name for attributing host telemetry.
request: DecisionRequestIts model is set to Self::model before dispatch.
model: ModelIdTarget ID for client lookup.
Implementations§
Source§impl CallDecision
impl CallDecision
Trait Implementations§
Source§impl Drop for CallDecision
impl Drop for CallDecision
Auto Trait Implementations§
impl !RefUnwindSafe for CallDecision
impl !UnwindSafe for CallDecision
impl Freeze for CallDecision
impl Send for CallDecision
impl Sync for CallDecision
impl Unpin for CallDecision
impl UnsafeUnpin for CallDecision
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