pub struct HaysonLogReplacedError {
pub path: String,
}Expand description
The log file behind an open handle is no longer the file at its path: something outside this
engine unlinked or replaced it — a git checkout of a data directory kept under version
control, a restore from backup, a stray mv. An append would land in the orphaned inode and
vanish with it, so the engine refuses the write; the database has to be reopened to attach to
the file now at that path.
Fields§
§path: StringTrait Implementations§
Source§impl Clone for HaysonLogReplacedError
impl Clone for HaysonLogReplacedError
Source§impl Debug for HaysonLogReplacedError
impl Debug for HaysonLogReplacedError
Source§impl Display for HaysonLogReplacedError
impl Display for HaysonLogReplacedError
impl Eq for HaysonLogReplacedError
Source§impl Error for HaysonLogReplacedError
impl Error for HaysonLogReplacedError
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()
Source§impl PartialEq for HaysonLogReplacedError
impl PartialEq for HaysonLogReplacedError
impl StructuralPartialEq for HaysonLogReplacedError
Auto Trait Implementations§
impl Freeze for HaysonLogReplacedError
impl RefUnwindSafe for HaysonLogReplacedError
impl Send for HaysonLogReplacedError
impl Sync for HaysonLogReplacedError
impl Unpin for HaysonLogReplacedError
impl UnsafeUnpin for HaysonLogReplacedError
impl UnwindSafe for HaysonLogReplacedError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.