pub enum JournalLockError {
Locked {
lock_path: String,
},
UnsafeEntry {
lock_path: String,
kind: String,
},
Io(Error),
}Expand description
JournalLockError
Typed failure to acquire exclusive access to a journal’s regular sidecar file.
Variants§
Locked
Another owner holds the sidecar lock.
UnsafeEntry
The sidecar was replaced by a non-regular entry.
Io(Error)
Filesystem IO failed.
Trait Implementations§
Source§impl Debug for JournalLockError
impl Debug for JournalLockError
Source§impl Display for JournalLockError
impl Display for JournalLockError
Source§impl Error for JournalLockError
impl Error for JournalLockError
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 From<Error> for JournalLockError
impl From<Error> for JournalLockError
Source§impl From<JournalLockError> for AttemptJournalError
impl From<JournalLockError> for AttemptJournalError
Source§fn from(source: JournalLockError) -> Self
fn from(source: JournalLockError) -> Self
Converts to this type from the input type.
Source§impl From<JournalLockError> for DownloadJournalError
impl From<JournalLockError> for DownloadJournalError
Source§fn from(source: JournalLockError) -> Self
fn from(source: JournalLockError) -> Self
Converts to this type from the input type.
Source§impl From<JournalLockError> for EffectGraphPersistenceError
impl From<JournalLockError> for EffectGraphPersistenceError
Source§fn from(source: JournalLockError) -> Self
fn from(source: JournalLockError) -> Self
Converts to this type from the input type.
Source§impl From<JournalLockError> for InventoryError
impl From<JournalLockError> for InventoryError
Source§fn from(source: JournalLockError) -> Self
fn from(source: JournalLockError) -> Self
Converts to this type from the input type.
Source§impl From<JournalLockError> for OperationPlanPersistenceError
impl From<JournalLockError> for OperationPlanPersistenceError
Source§fn from(source: JournalLockError) -> Self
fn from(source: JournalLockError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for JournalLockError
impl !UnwindSafe for JournalLockError
impl Freeze for JournalLockError
impl Send for JournalLockError
impl Sync for JournalLockError
impl Unpin for JournalLockError
impl UnsafeUnpin for JournalLockError
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