pub enum SessionLockError {
Io(Error, PathBuf),
Held {
session_id: String,
holder: Option<LockHolder>,
},
CompactedInto {
session_id: String,
successor_id: String,
},
}Variants§
Io(Error, PathBuf)
Held
CompactedInto
The session was compacted into a successor — locking the predecessor would fork pre-compaction history (F24).
Trait Implementations§
Source§impl Debug for SessionLockError
impl Debug for SessionLockError
Source§impl Display for SessionLockError
impl Display for SessionLockError
Source§impl Error for SessionLockError
impl Error for SessionLockError
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 SessionLockError
impl !UnwindSafe for SessionLockError
impl Freeze for SessionLockError
impl Send for SessionLockError
impl Sync for SessionLockError
impl Unpin for SessionLockError
impl UnsafeUnpin for SessionLockError
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