pub enum MigrateV2Error {
UnknownSkipRules(String),
Walk(Error),
Io(Error),
MissingParent(PathBuf),
}Expand description
An error produced while validating or applying the migration codemod.
Variants§
UnknownSkipRules(String)
One or more requested skip rules are not supported.
Walk(Error)
The source tree could not be walked.
Io(Error)
A source file could not be read or written.
MissingParent(PathBuf)
A file path does not have a parent directory for an atomic rewrite.
Trait Implementations§
Source§impl Debug for MigrateV2Error
impl Debug for MigrateV2Error
Source§impl Display for MigrateV2Error
impl Display for MigrateV2Error
Source§impl Error for MigrateV2Error
impl Error for MigrateV2Error
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<Error> for MigrateV2Error
impl From<Error> for MigrateV2Error
Auto Trait Implementations§
impl !RefUnwindSafe for MigrateV2Error
impl !UnwindSafe for MigrateV2Error
impl Freeze for MigrateV2Error
impl Send for MigrateV2Error
impl Sync for MigrateV2Error
impl Unpin for MigrateV2Error
impl UnsafeUnpin for MigrateV2Error
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