pub enum OrchestratorError {
NotRunning {
root: PathBuf,
lock: PathBuf,
},
AlreadyRunning {
root: PathBuf,
pid: u32,
},
NoDaemonEntry {
searched: String,
},
Lease {
path: PathBuf,
source: Error,
},
Service {
action: &'static str,
detail: String,
},
}Expand description
Why an operator verb could not do its work.
Variants§
NotRunning
No lease file, or one that no longer names a live process.
AlreadyRunning
A lease exists and its process is alive.
NoDaemonEntry
The Node daemon entry could not be located.
Lease
The lease file could not be read or written.
Service
A service manager refused, or there is none on this platform.
Trait Implementations§
Source§impl Debug for OrchestratorError
impl Debug for OrchestratorError
Source§impl Display for OrchestratorError
impl Display for OrchestratorError
Source§impl Error for OrchestratorError
impl Error for OrchestratorError
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 OrchestratorError
impl !UnwindSafe for OrchestratorError
impl Freeze for OrchestratorError
impl Send for OrchestratorError
impl Sync for OrchestratorError
impl Unpin for OrchestratorError
impl UnsafeUnpin for OrchestratorError
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