pub enum FileFromPathError {
IoError {
path: PathBuf,
err: Error,
},
}
Expand description
An error which can occur when reading a file from the specified path.
Variants§
Trait Implementations§
Source§impl Debug for FileFromPathError
impl Debug for FileFromPathError
Source§impl Display for FileFromPathError
impl Display for FileFromPathError
Source§impl Error for FileFromPathError
impl Error for FileFromPathError
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<FileFromPathError> for CMarkReadmeFromPackageError
impl From<FileFromPathError> for CMarkReadmeFromPackageError
Source§fn from(source: FileFromPathError) -> Self
fn from(source: FileFromPathError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FileFromPathError
impl !RefUnwindSafe for FileFromPathError
impl Send for FileFromPathError
impl Sync for FileFromPathError
impl Unpin for FileFromPathError
impl !UnwindSafe for FileFromPathError
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