pub struct SkippedTool {
pub path: PathBuf,
pub reason: String,
}Expand description
A .rhai file that could not be turned into a tool (bad annotations,
tool.toml, or a compile error). Surfaced so the caller can log it - the
library itself does no logging, keeping that policy decision in the host.
Fields§
§path: PathBufThe offending file.
reason: StringWhy it was skipped.
Trait Implementations§
Source§impl Clone for SkippedTool
impl Clone for SkippedTool
Source§fn clone(&self) -> SkippedTool
fn clone(&self) -> SkippedTool
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SkippedTool
impl RefUnwindSafe for SkippedTool
impl Send for SkippedTool
impl Sync for SkippedTool
impl Unpin for SkippedTool
impl UnsafeUnpin for SkippedTool
impl UnwindSafe for SkippedTool
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