pub enum EseError {
InvalidMagic {
page: u32,
found: u32,
},
RecordTooShort {
page: u32,
tag: usize,
got: usize,
need: usize,
},
TagArrayOverflow {
page: u32,
},
TableNotFound {
name: String,
},
Corrupt {
page: u32,
detail: String,
},
Io(Error),
}Expand description
Errors that can occur when reading an ESE database.
Variants§
Trait Implementations§
Source§impl Error for EseError
impl Error for EseError
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 EseError
impl !UnwindSafe for EseError
impl Freeze for EseError
impl Send for EseError
impl Sync for EseError
impl Unpin for EseError
impl UnsafeUnpin for EseError
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