pub enum CustodyError {
InFlight {
path: PathBuf,
},
IdentityChanged {
path: PathBuf,
},
AlreadyDispatched {
path: PathBuf,
},
Lock(RegularFileLockError),
Io(Error),
}Expand description
Typed local custody refusal; no variant authorizes reissue or cleanup.
Variants§
InFlight
An owner or inherited holder still has the exclusive lock.
IdentityChanged
Retained regular-file identity no longer matches.
AlreadyDispatched
This owner already attempted its one spawn.
Lock(RegularFileLockError)
Host FS sidecar admission failed, preserving the original typed cause.
Io(Error)
Native filesystem, descriptor, timing or spawn failure.
Trait Implementations§
Source§impl Debug for CustodyError
impl Debug for CustodyError
Source§impl Display for CustodyError
impl Display for CustodyError
Source§impl Error for CustodyError
impl Error for CustodyError
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 CustodyError
impl !UnwindSafe for CustodyError
impl Freeze for CustodyError
impl Send for CustodyError
impl Sync for CustodyError
impl Unpin for CustodyError
impl UnsafeUnpin for CustodyError
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