pub struct SafeFixApplier { /* private fields */ }Expand description
Only applies fixes marked as unambiguous and safe by rule metadata / fix_hint patterns.
Implementations§
Source§impl SafeFixApplier
impl SafeFixApplier
pub fn new(writer: Box<dyn SourceWriter>) -> Self
pub fn default_fs() -> Self
Trait Implementations§
Source§impl FixService for SafeFixApplier
impl FixService for SafeFixApplier
fn apply_safe_fixes( &self, findings: &[Finding], sources: &[(SourceFile, String)], ) -> Result<Vec<AppliedFix>, String>
Auto Trait Implementations§
impl !RefUnwindSafe for SafeFixApplier
impl !UnwindSafe for SafeFixApplier
impl Freeze for SafeFixApplier
impl Send for SafeFixApplier
impl Sync for SafeFixApplier
impl Unpin for SafeFixApplier
impl UnsafeUnpin for SafeFixApplier
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