pub struct NoopSyntaxChecker;Expand description
SyntaxChecker that always returns SyntaxCheckResult::Ok.
Used in tests to keep the validation pass deterministic and
hermetic (no real bash/zsh invocations).
Trait Implementations§
Source§impl SyntaxChecker for NoopSyntaxChecker
impl SyntaxChecker for NoopSyntaxChecker
Auto Trait Implementations§
impl Freeze for NoopSyntaxChecker
impl RefUnwindSafe for NoopSyntaxChecker
impl Send for NoopSyntaxChecker
impl Sync for NoopSyntaxChecker
impl Unpin for NoopSyntaxChecker
impl UnsafeUnpin for NoopSyntaxChecker
impl UnwindSafe for NoopSyntaxChecker
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