pub enum ReplayContract {
Stateless,
RequiredWithTools,
AlwaysRequired,
}Expand description
Whether this turn’s reasoning items satisfy the next-turn replay contract for the originating provider.
Variants§
Stateless
Provider has no replay requirement (e.g. xAI Grok via chat completions, Qwen / Kimi / Llama, or any model not yet enrolled in the audit). Stateless.
RequiredWithTools
Provider requires every signed/encrypted item to round-trip exactly when the upcoming turn carries tool calls / tool results. Missing → 400.
AlwaysRequired
Provider requires every signed/encrypted item to round-trip every turn, irrespective of tools (Gemini 3 Pro).
Trait Implementations§
Source§impl Clone for ReplayContract
impl Clone for ReplayContract
Source§fn clone(&self) -> ReplayContract
fn clone(&self) -> ReplayContract
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 ReplayContract
impl Debug for ReplayContract
Source§impl PartialEq for ReplayContract
impl PartialEq for ReplayContract
Source§fn eq(&self, other: &ReplayContract) -> bool
fn eq(&self, other: &ReplayContract) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ReplayContract
impl StructuralPartialEq for ReplayContract
Auto Trait Implementations§
impl Freeze for ReplayContract
impl RefUnwindSafe for ReplayContract
impl Send for ReplayContract
impl Sync for ReplayContract
impl Unpin for ReplayContract
impl UnsafeUnpin for ReplayContract
impl UnwindSafe for ReplayContract
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.