pub enum MigrateFormat1Error {
NotADirectory(PathBuf),
UnreadableMarker(PathBuf, String),
UnknownMarker(PathBuf, String),
NoSchemaFiles(PathBuf),
Schema(HaysonSchemaError),
Io(Error),
Write(String),
}Variants§
NotADirectory(PathBuf)
UnreadableMarker(PathBuf, String)
UnknownMarker(PathBuf, String)
NoSchemaFiles(PathBuf)
Schema(HaysonSchemaError)
Io(Error)
Write(String)
Trait Implementations§
Source§impl Debug for MigrateFormat1Error
impl Debug for MigrateFormat1Error
Source§impl Display for MigrateFormat1Error
impl Display for MigrateFormat1Error
Source§impl Error for MigrateFormat1Error
impl Error for MigrateFormat1Error
1.30.0 · 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 MigrateFormat1Error
impl From<Error> for MigrateFormat1Error
Source§impl From<HaysonSchemaError> for MigrateFormat1Error
impl From<HaysonSchemaError> for MigrateFormat1Error
Source§fn from(value: HaysonSchemaError) -> Self
fn from(value: HaysonSchemaError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for MigrateFormat1Error
impl !UnwindSafe for MigrateFormat1Error
impl Freeze for MigrateFormat1Error
impl Send for MigrateFormat1Error
impl Sync for MigrateFormat1Error
impl Unpin for MigrateFormat1Error
impl UnsafeUnpin for MigrateFormat1Error
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