pub enum FileConversionError {
Io(Error),
InvalidUtf8Path(PathBuf),
UnsupportedFileType(PathBuf),
}Available on crate features
sync and write only.Expand description
Identifies a FileConversionError value.
Variants§
Io(Error)
The Io variant.
InvalidUtf8Path(PathBuf)
The InvalidUtf8Path variant.
UnsupportedFileType(PathBuf)
The UnsupportedFileType variant.
Trait Implementations§
Source§impl Debug for FileConversionError
impl Debug for FileConversionError
Source§impl Display for FileConversionError
impl Display for FileConversionError
Source§impl Error for FileConversionError
impl Error for FileConversionError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for FileConversionError
impl !UnwindSafe for FileConversionError
impl Freeze for FileConversionError
impl Send for FileConversionError
impl Sync for FileConversionError
impl Unpin for FileConversionError
impl UnsafeUnpin for FileConversionError
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