pub struct CapabilityProbePlan {
pub steps: Vec<CapabilityProbeStep>,
}Expand description
Description of how we interrogate the CLI to populate a CodexCapabilities snapshot.
Probes should prefer an explicit feature list when available, fall back to parsing
codex --help flags, and finally rely on coarse version heuristics. Each attempted
step is recorded so hosts can trace why a particular flag was enabled or skipped.
Fields§
§steps: Vec<CapabilityProbeStep>Steps attempted in order; consumers should push entries as probes run.
Trait Implementations§
Source§impl Clone for CapabilityProbePlan
impl Clone for CapabilityProbePlan
Source§fn clone(&self) -> CapabilityProbePlan
fn clone(&self) -> CapabilityProbePlan
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 CapabilityProbePlan
impl Debug for CapabilityProbePlan
Source§impl Default for CapabilityProbePlan
impl Default for CapabilityProbePlan
Source§fn default() -> CapabilityProbePlan
fn default() -> CapabilityProbePlan
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CapabilityProbePlan
impl<'de> Deserialize<'de> for CapabilityProbePlan
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
Source§impl PartialEq for CapabilityProbePlan
impl PartialEq for CapabilityProbePlan
Source§fn eq(&self, other: &CapabilityProbePlan) -> bool
fn eq(&self, other: &CapabilityProbePlan) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CapabilityProbePlan
impl Serialize for CapabilityProbePlan
impl Eq for CapabilityProbePlan
impl StructuralPartialEq for CapabilityProbePlan
Auto Trait Implementations§
impl Freeze for CapabilityProbePlan
impl RefUnwindSafe for CapabilityProbePlan
impl Send for CapabilityProbePlan
impl Sync for CapabilityProbePlan
impl Unpin for CapabilityProbePlan
impl UnsafeUnpin for CapabilityProbePlan
impl UnwindSafe for CapabilityProbePlan
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.