pub struct IoMissingDirectoryFixGenerator;Expand description
Generates fixes for “No such file or directory” IO errors
Implementations§
Source§impl IoMissingDirectoryFixGenerator
impl IoMissingDirectoryFixGenerator
Sourcepub fn new() -> IoMissingDirectoryFixGenerator
pub fn new() -> IoMissingDirectoryFixGenerator
Creates a new IoMissingDirectoryFixGenerator
Trait Implementations§
Source§impl FixGenerator for IoMissingDirectoryFixGenerator
impl FixGenerator for IoMissingDirectoryFixGenerator
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 IoMissingDirectoryFixGenerator
impl RefUnwindSafe for IoMissingDirectoryFixGenerator
impl Send for IoMissingDirectoryFixGenerator
impl Sync for IoMissingDirectoryFixGenerator
impl Unpin for IoMissingDirectoryFixGenerator
impl UnwindSafe for IoMissingDirectoryFixGenerator
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