pub struct NoCrashLint { /* private fields */ }Expand description
Lint: fails the run when any failure occurred.
Implementations§
Source§impl NoCrashLint
impl NoCrashLint
pub fn new(definition: LintDefinition) -> Result<Self, String>
Trait Implementations§
Source§impl Clone for NoCrashLint
impl Clone for NoCrashLint
Source§fn clone(&self) -> NoCrashLint
fn clone(&self) -> NoCrashLint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NoCrashLint
impl Debug for NoCrashLint
Source§impl LintRule for NoCrashLint
impl LintRule for NoCrashLint
fn definition(&self) -> &LintDefinition
fn check_run(&self, context: &RunLintContext<'_>) -> Vec<LintFinding>
fn check_list(&self, _context: &ListLintContext<'_>) -> Vec<LintFinding>
fn check_response(&self, _context: &ResponseLintContext<'_>) -> Vec<LintFinding>
Auto Trait Implementations§
impl Freeze for NoCrashLint
impl RefUnwindSafe for NoCrashLint
impl Send for NoCrashLint
impl Sync for NoCrashLint
impl Unpin for NoCrashLint
impl UnsafeUnpin for NoCrashLint
impl UnwindSafe for NoCrashLint
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