pub struct PiAdapter;Trait Implementations§
Source§impl TargetAdapter for PiAdapter
impl TargetAdapter for PiAdapter
Source§fn hook_fragment_mode(&self) -> Option<HookFragmentMode>
fn hook_fragment_mode(&self) -> Option<HookFragmentMode>
Native fragment placement mechanism declared by this adapter.
Source§fn hook_file_dest_path(&self, name: &str) -> Option<PathBuf>
fn hook_file_dest_path(&self, name: &str) -> Option<PathBuf>
Relative destination for an opaque file-mode fragment.
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 known_hook_events(&self) -> Option<&'static [&'static str]>
fn known_hook_events(&self) -> Option<&'static [&'static str]>
Documented native command-hook events, or
None when this target has
no declarative command-hook mechanism.Source§fn write_config_entries(
&self,
write: ConfigWrite<'_>,
project_root: &Path,
) -> Result<Vec<PathBuf>, MarsError>
fn write_config_entries( &self, write: ConfigWrite<'_>, project_root: &Path, ) -> Result<Vec<PathBuf>, MarsError>
Write config entries (MCP servers, hooks) to this target’s config file. Read more
Source§fn mcp_config_file_names(&self) -> &'static [&'static str]
fn mcp_config_file_names(&self) -> &'static [&'static str]
Config files mutated by MCP entries.
Source§fn hook_config_file_names(&self) -> &'static [&'static str]
fn hook_config_file_names(&self) -> &'static [&'static str]
Config files mutated by merge-mode hook entries.
Source§fn legacy_hook_config_file_names(&self) -> &'static [&'static str]
fn legacy_hook_config_file_names(&self) -> &'static [&'static str]
One-release legacy hook files touched only when old lock records lack
structural emission data.
Source§fn emit_pre_write_diagnostics(
&self,
_entries: &[ConfigEntry],
_diag: &mut DiagnosticCollector,
)
fn emit_pre_write_diagnostics( &self, _entries: &[ConfigEntry], _diag: &mut DiagnosticCollector, )
Emit target-specific pre-write diagnostics (e.g., lossiness warnings). Read more
Source§fn remove_owned_hook_entries(
&self,
operation: RemovalOperation<'_>,
project_root: &Path,
_diag: &mut DiagnosticCollector,
) -> RemovalReport
fn remove_owned_hook_entries( &self, operation: RemovalOperation<'_>, project_root: &Path, _diag: &mut DiagnosticCollector, ) -> RemovalReport
Remove hook entries recorded in the previous lock by structural equality.
Source§fn remove_config_entries(
&self,
operation: RemovalOperation<'_>,
project_root: &Path,
) -> RemovalReport
fn remove_config_entries( &self, operation: RemovalOperation<'_>, project_root: &Path, ) -> RemovalReport
Remove stale config entries from this target’s config file. Read more
Auto Trait Implementations§
impl Freeze for PiAdapter
impl RefUnwindSafe for PiAdapter
impl Send for PiAdapter
impl Sync for PiAdapter
impl Unpin for PiAdapter
impl UnsafeUnpin for PiAdapter
impl UnwindSafe for PiAdapter
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