pub enum VersionAlignmentError {
MissingPin,
Missing {
path: PathBuf,
},
Io {
path: PathBuf,
source: Error,
},
Parse {
path: PathBuf,
source: Error,
},
SchemaVersion {
path: PathBuf,
expected: u32,
found: u32,
},
}Variants§
Trait Implementations§
Source§impl Debug for VersionAlignmentError
impl Debug for VersionAlignmentError
Source§impl Display for VersionAlignmentError
impl Display for VersionAlignmentError
Source§impl Error for VersionAlignmentError
impl Error for VersionAlignmentError
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<VersionAlignmentError> for DoctorError
impl From<VersionAlignmentError> for DoctorError
Source§fn from(source: VersionAlignmentError) -> Self
fn from(source: VersionAlignmentError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for VersionAlignmentError
impl !UnwindSafe for VersionAlignmentError
impl Freeze for VersionAlignmentError
impl Send for VersionAlignmentError
impl Sync for VersionAlignmentError
impl Unpin for VersionAlignmentError
impl UnsafeUnpin for VersionAlignmentError
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