pub struct OpenCodeAdapter;Expand description
Detection-only stub for the (currently dormant) HookAdapter trait.
OpenCode capture does NOT go through this trait — the live path stamps
the agent via the bundled plugin + commands::stream::stamp_agent. This
type exists so DetectedTool::OpenCode::adapter() reports the correct
tool_name (“opencode”), mirroring the CodexAdapter/GsdAdapter
stubs. The parse methods are intentionally unimplemented here.
Trait Implementations§
Source§impl HookAdapter for OpenCodeAdapter
impl HookAdapter for OpenCodeAdapter
Auto Trait Implementations§
impl Forget for OpenCodeAdapter
impl Freeze for OpenCodeAdapter
impl Move for OpenCodeAdapter
impl RefUnwindSafe for OpenCodeAdapter
impl Send for OpenCodeAdapter
impl Sync for OpenCodeAdapter
impl Unpin for OpenCodeAdapter
impl UnsafeUnpin for OpenCodeAdapter
impl UnwindSafe for OpenCodeAdapter
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