pub enum RdbFileError {
InvalidOperation(String),
Io(Error),
ZoneUnrecoverable {
zone: &'static str,
path: PathBuf,
},
}Variants§
InvalidOperation(String)
Io(Error)
ZoneUnrecoverable
A named zone of the .rdb cannot be trusted, so the store does not
open. ADR 0074 §2 requires the zone be named and §4 requires the
operator be pointed at red salvage rather than left with a panic.
Trait Implementations§
Source§impl Debug for RdbFileError
impl Debug for RdbFileError
Source§impl Display for RdbFileError
impl Display for RdbFileError
Source§impl Error for RdbFileError
impl Error for RdbFileError
1.30.0 · 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 RdbFileError
impl !UnwindSafe for RdbFileError
impl Freeze for RdbFileError
impl Send for RdbFileError
impl Sync for RdbFileError
impl Unpin for RdbFileError
impl UnsafeUnpin for RdbFileError
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