pub enum HintStoreOpenError {
Dir {
path: PathBuf,
source: Error,
},
Segment {
path: PathBuf,
source: Error,
},
}Expand description
Errors produced by HintStore::open.
Variants§
Dir
The segment directory could not be created or read.
Segment
A segment file could not be read during replay.
Trait Implementations§
Source§impl Debug for HintStoreOpenError
impl Debug for HintStoreOpenError
Source§impl Display for HintStoreOpenError
impl Display for HintStoreOpenError
Source§impl Error for HintStoreOpenError
impl Error for HintStoreOpenError
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 HintStoreOpenError
impl !UnwindSafe for HintStoreOpenError
impl Freeze for HintStoreOpenError
impl Send for HintStoreOpenError
impl Sync for HintStoreOpenError
impl Unpin for HintStoreOpenError
impl UnsafeUnpin for HintStoreOpenError
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