pub struct IoPermissionFixGenerator;Expand description
Generates fixes for permission-related IO errors
Implementations§
Source§impl IoPermissionFixGenerator
impl IoPermissionFixGenerator
Sourcepub fn new() -> IoPermissionFixGenerator
pub fn new() -> IoPermissionFixGenerator
Creates a new IoPermissionFixGenerator
Trait Implementations§
Source§impl FixGenerator for IoPermissionFixGenerator
impl FixGenerator for IoPermissionFixGenerator
Source§fn generate_fix(
&self,
error: &DecrustError,
params: &ExtractedParameters,
_source_code_context: Option<&str>,
) -> Option<Autocorrection>
fn generate_fix( &self, error: &DecrustError, params: &ExtractedParameters, _source_code_context: Option<&str>, ) -> Option<Autocorrection>
Generates a fix for an error using extracted parameters
Auto Trait Implementations§
impl Freeze for IoPermissionFixGenerator
impl RefUnwindSafe for IoPermissionFixGenerator
impl Send for IoPermissionFixGenerator
impl Sync for IoPermissionFixGenerator
impl Unpin for IoPermissionFixGenerator
impl UnwindSafe for IoPermissionFixGenerator
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