pub struct CodexReadinessDetector;Expand description
Codex interactive-composer readiness (Open Question #2).
Trait Implementations§
Source§impl ReadinessDetector for CodexReadinessDetector
impl ReadinessDetector for CodexReadinessDetector
Source§fn provider_name(&self) -> &str
fn provider_name(&self) -> &str
&str (not &'static str) so a detector can name a provider known only
at runtime (the daemon’s wildcard NoSignalDetector carries the real
provider name rather than the literal “unknown”; cv-789fdba0).Source§fn is_ready(&self, screen: &ScreenView<'_>) -> Result<bool, ReadinessError>
fn is_ready(&self, screen: &ScreenView<'_>) -> Result<bool, ReadinessError>
Ok(true) when the CLI is ready for input, Ok(false) when not yet,
Err(UnknownReadinessSignal) when this provider has no usable signal.Auto Trait Implementations§
impl Freeze for CodexReadinessDetector
impl RefUnwindSafe for CodexReadinessDetector
impl Send for CodexReadinessDetector
impl Sync for CodexReadinessDetector
impl Unpin for CodexReadinessDetector
impl UnsafeUnpin for CodexReadinessDetector
impl UnwindSafe for CodexReadinessDetector
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