pub struct StaticEnvironmentDetector { /* private fields */ }Expand description
Deterministic detector used by init, doctor, and MCP orchestration tests.
It intentionally performs no normalization or command execution. Tests must provide the exact report they expect orchestration to consume.
Implementations§
Source§impl StaticEnvironmentDetector
impl StaticEnvironmentDetector
pub fn new(report: EnvironmentReport) -> Self
Trait Implementations§
Source§impl Clone for StaticEnvironmentDetector
impl Clone for StaticEnvironmentDetector
Source§impl Debug for StaticEnvironmentDetector
impl Debug for StaticEnvironmentDetector
Source§impl EnvironmentDetector for StaticEnvironmentDetector
impl EnvironmentDetector for StaticEnvironmentDetector
fn detect(&self, request: &DetectionRequest) -> CascadeResult<EnvironmentReport>
Auto Trait Implementations§
impl Freeze for StaticEnvironmentDetector
impl RefUnwindSafe for StaticEnvironmentDetector
impl Send for StaticEnvironmentDetector
impl Sync for StaticEnvironmentDetector
impl Unpin for StaticEnvironmentDetector
impl UnsafeUnpin for StaticEnvironmentDetector
impl UnwindSafe for StaticEnvironmentDetector
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