pub struct OpencodeAdapter;Trait Implementations§
Source§impl Debug for OpencodeAdapter
impl Debug for OpencodeAdapter
Source§impl TargetAdapter for OpencodeAdapter
impl TargetAdapter for OpencodeAdapter
Source§fn skill_variant_key(&self) -> Option<&str>
fn skill_variant_key(&self) -> Option<&str>
Skill variant harness key used when projecting skills to this target. Read more
Source§fn default_dest_path(&self, kind: ItemKind, name: &str) -> Option<DestPath>
fn default_dest_path(&self, kind: ItemKind, name: &str) -> Option<DestPath>
Default destination path for an item of the given kind and name. Read more
Source§fn write_config_entries(
&self,
entries: &[ConfigEntry],
target_dir: &Path,
) -> Result<Vec<PathBuf>, MarsError>
fn write_config_entries( &self, entries: &[ConfigEntry], target_dir: &Path, ) -> Result<Vec<PathBuf>, MarsError>
Write config entries (MCP servers, hooks) to this target’s config file. Read more
Source§fn remove_config_entries(
&self,
entry_keys: &[String],
target_dir: &Path,
) -> Result<(), MarsError>
fn remove_config_entries( &self, entry_keys: &[String], target_dir: &Path, ) -> Result<(), MarsError>
Remove stale config entries from this target’s config file. Read more
Source§fn emit_pre_write_diagnostics(
&self,
_entries: &[ConfigEntry],
_target_dir: &Path,
_diag: &mut DiagnosticCollector,
)
fn emit_pre_write_diagnostics( &self, _entries: &[ConfigEntry], _target_dir: &Path, _diag: &mut DiagnosticCollector, )
Emit target-specific pre-write diagnostics (e.g., lossiness warnings). Read more
Auto Trait Implementations§
impl Freeze 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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more