pub enum UndecodableFileError {
Io(Error),
OutputFileExists,
DecodesToInvalidUnicode(FromUtf8Error),
}
Expand description
The error returned by the decoding functions that interact with the file system.
Variants§
Trait Implementations§
source§impl Debug for UndecodableFileError
impl Debug for UndecodableFileError
source§impl Display for UndecodableFileError
impl Display for UndecodableFileError
source§impl Error for UndecodableFileError
impl Error for UndecodableFileError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 UndecodableFileError
impl From<Error> for UndecodableFileError
source§impl From<FromUtf8Error> for UndecodableFileError
impl From<FromUtf8Error> for UndecodableFileError
source§fn from(err: FromUtf8Error) -> Self
fn from(err: FromUtf8Error) -> Self
Converts to this type from the input type.