#[non_exhaustive]pub enum ProcessRecoveryError {
IdentityMismatch {
instance_id: String,
pid: u32,
},
InvalidState {
instance_id: String,
reason: String,
},
StopFailed {
instance_id: String,
pid: u32,
reason: String,
},
}Expand description
Structured persisted-process failures.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Debug for ProcessRecoveryError
impl Debug for ProcessRecoveryError
Source§impl Display for ProcessRecoveryError
impl Display for ProcessRecoveryError
Source§impl Error for ProcessRecoveryError
impl Error for ProcessRecoveryError
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()
Source§impl From<ProcessRecoveryError> for Error
impl From<ProcessRecoveryError> for Error
Source§fn from(source: ProcessRecoveryError) -> Self
fn from(source: ProcessRecoveryError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for ProcessRecoveryError
impl Freeze for ProcessRecoveryError
impl Move for ProcessRecoveryError
impl RefUnwindSafe for ProcessRecoveryError
impl Send for ProcessRecoveryError
impl Sync for ProcessRecoveryError
impl Unpin for ProcessRecoveryError
impl UnsafeUnpin for ProcessRecoveryError
impl UnwindSafe for ProcessRecoveryError
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