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