pub struct CodexValidator;Trait Implementations§
Source§impl Validator for CodexValidator
impl Validator for CodexValidator
Source§fn patterns(&self) -> &[&str]
fn patterns(&self) -> &[&str]
File glob patterns this validator claims (e.g.
.claude/agents/**/*.md).Source§fn validate(&self, path: &Path, src: &str) -> Vec<Diagnostic>
fn validate(&self, path: &Path, src: &str) -> Vec<Diagnostic>
Validate
src (the file contents) for path. Returns all diagnostics.Source§fn validate_batch(&self, _files: &[(PathBuf, String)]) -> Vec<Diagnostic>
fn validate_batch(&self, _files: &[(PathBuf, String)]) -> Vec<Diagnostic>
Cross-file validation called once after all per-file passes. Receives
only the files claimed by this validator. Default implementation returns
no diagnostics; override for rules that require global state (e.g.
duplicate-name detection).
Auto Trait Implementations§
impl Freeze for CodexValidator
impl RefUnwindSafe for CodexValidator
impl Send for CodexValidator
impl Sync for CodexValidator
impl Unpin for CodexValidator
impl UnsafeUnpin for CodexValidator
impl UnwindSafe for CodexValidator
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