pub enum Error {
IoError {
source: Error,
},
FailedToOpenFile {
path: PathBuf,
source: Error,
},
InvalidFilename,
InvalidEntrySignature {
bad_sig: Vec<u8>,
},
UnknownAttributeType {
attribute_type: u32,
},
UnknownNamespace {
namespace: u8,
},
UnhandledResidentFlag {
flag: u8,
offset: u64,
},
FailedToApplyFixup {
stride_number: usize,
end_of_sector_bytes: Vec<u8>,
fixup_bytes: Vec<u8>,
},
FailedToReadMftReference {
source: Error,
},
FailedToReadWindowsTime {
source: Error,
},
FailedToReadGuid {
source: Error,
},
Any {
detail: String,
},
}
Variants§
IoError
FailedToOpenFile
InvalidFilename
InvalidEntrySignature
UnknownAttributeType
UnknownNamespace
UnhandledResidentFlag
FailedToApplyFixup
FailedToReadMftReference
FailedToReadWindowsTime
FailedToReadGuid
Any
Implementations§
Trait Implementations§
source§impl Error for Error
impl Error for Error
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()