pub struct SuiteCapabilities {
pub partial_tool_args: bool,
pub zero_usage_terminal: bool,
pub bare_terminal: bool,
pub malformed_frame: bool,
pub unknown_event_frame: bool,
pub defective_known_frame: bool,
pub delta_less_prelude: bool,
pub refusal: bool,
pub interleaved_reasoning: bool,
}test-utils) and not (target_os=unknown and WebAssembly) only.Expand description
Streaming-relevant capability flags for one wire family’s conformance suite: which optional sequence shapes the wire can spell.
Each flag mirrors an Option field on ProviderWireFixture, and the
only constructor is ProviderWireFixture::capabilities — suites never
hand-write flags, so a flag structurally cannot drift from the wire
fixture that backs it (it is the fixture’s populated-field set).
Fields§
§partial_tool_args: boolThe wire streams tool-call arguments incrementally
(partial_tool_call_frames).
zero_usage_terminal: boolThe wire has a genuine terminal that can omit usage metrics
(zero_usage_terminal_frames).
bare_terminal: boolThe wire has a data-less terminal signal (bare_terminal_frames).
malformed_frame: boolA frame-level decode failure can be spelled (malformed_frame).
unknown_event_frame: boolAn unknown event type can be spelled (unknown_event_frame).
defective_known_frame: boolA known event with a schema-defective payload can be spelled
(defective_known_frame).
delta_less_prelude: boolThe wire has a delta-less choice prelude shape
(delta_less_prelude_frame).
refusal: boolThe wire has a refusal channel (refusal).
interleaved_reasoning: boolThe wire mints a constant per-stream reasoning identity, so
interleaving output is its only reasoning boundary
(interleaved_reasoning).
Implementations§
Source§impl SuiteCapabilities
impl SuiteCapabilities
Sourcepub fn from_names(names: &[&str]) -> Result<SuiteCapabilities, String>
pub fn from_names(names: &[&str]) -> Result<SuiteCapabilities, String>
Build a capability set from manifest names. An unknown name is an
error so a typo in a suite’s manifest: list fails loudly rather
than silently asserting an empty flag; the macro-expanded test
asserts on it.
Trait Implementations§
Source§impl Clone for SuiteCapabilities
impl Clone for SuiteCapabilities
Source§fn clone(&self) -> SuiteCapabilities
fn clone(&self) -> SuiteCapabilities
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for SuiteCapabilities
Source§impl Debug for SuiteCapabilities
impl Debug for SuiteCapabilities
Source§impl Default for SuiteCapabilities
impl Default for SuiteCapabilities
Source§fn default() -> SuiteCapabilities
fn default() -> SuiteCapabilities
impl Eq for SuiteCapabilities
Source§impl PartialEq for SuiteCapabilities
impl PartialEq for SuiteCapabilities
impl StructuralPartialEq for SuiteCapabilities
Auto Trait Implementations§
impl Freeze for SuiteCapabilities
impl RefUnwindSafe for SuiteCapabilities
impl Send for SuiteCapabilities
impl Sync for SuiteCapabilities
impl Unpin for SuiteCapabilities
impl UnsafeUnpin for SuiteCapabilities
impl UnwindSafe for SuiteCapabilities
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneDebuggableStorage for Twhere
T: DebuggableStorage + Clone,
impl<T> CloneDebuggableStorage for Twhere
T: DebuggableStorage + Clone,
fn clone_storage(&self) -> Box<dyn CloneDebuggableStorage>
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> CloneableStorage for T
impl<T> CloneableStorage for T
fn clone_storage(&self) -> Box<dyn CloneableStorage>
impl<T> DebuggableStorage for T
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§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
key and return true if they are equal.