pub enum CommandLifetimeLockError {
InFlight {
path: PathBuf,
},
IdentityChanged {
path: PathBuf,
},
AlreadyDispatched {
path: PathBuf,
},
UnsafeEntry {
path: PathBuf,
kind: String,
},
InvalidJournal {
path: PathBuf,
},
Record(CommandCustodyRecordError),
Io(Error),
}Expand description
Typed custody admission, dispatch or quiescence failure.
Variants§
InFlight
An owner or inherited command still holds custody.
IdentityChanged
The retained sidecar is no longer the expected regular file.
AlreadyDispatched
One guard already attempted its single command spawn.
UnsafeEntry
The sidecar has an unsafe entry type.
InvalidJournal
The selected journal location is unsafe or incomplete.
Record(CommandCustodyRecordError)
Retained custody evidence fails model admission.
Io(Error)
A filesystem or process operation failed.
Trait Implementations§
Source§impl Debug for CommandLifetimeLockError
impl Debug for CommandLifetimeLockError
Source§impl Display for CommandLifetimeLockError
impl Display for CommandLifetimeLockError
Source§impl Error for CommandLifetimeLockError
impl Error for CommandLifetimeLockError
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<CommandCustodyRecordError> for CommandLifetimeLockError
impl From<CommandCustodyRecordError> for CommandLifetimeLockError
Source§fn from(source: CommandCustodyRecordError) -> Self
fn from(source: CommandCustodyRecordError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for CommandLifetimeLockError
impl !UnwindSafe for CommandLifetimeLockError
impl Freeze for CommandLifetimeLockError
impl Send for CommandLifetimeLockError
impl Sync for CommandLifetimeLockError
impl Unpin for CommandLifetimeLockError
impl UnsafeUnpin for CommandLifetimeLockError
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