pub struct OpenCodeInstaller { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Default for OpenCodeInstaller
impl Default for OpenCodeInstaller
Source§impl Installer for OpenCodeInstaller
impl Installer for OpenCodeInstaller
Source§fn detect(&self) -> Result<bool>
fn detect(&self) -> Result<bool>
Returns true when the local environment looks like the client is
installed (e.g.
~/.claude/ exists). Used to power doctor.fn install(&self, ctx: &InstallContext) -> Result<InstallReport>
fn update(&self, ctx: &InstallContext) -> Result<UpdateReport>
fn uninstall(&self, ctx: &InstallContext) -> Result<UninstallReport>
fn diagnose(&self, ctx: &InstallContext) -> Result<DiagnosticReport>
Auto Trait Implementations§
impl Freeze for OpenCodeInstaller
impl RefUnwindSafe for OpenCodeInstaller
impl Send for OpenCodeInstaller
impl Sync for OpenCodeInstaller
impl Unpin for OpenCodeInstaller
impl UnsafeUnpin for OpenCodeInstaller
impl UnwindSafe for OpenCodeInstaller
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