#[non_exhaustive]pub enum PersistentStartErrorKind {
SpawnFailed,
ReadinessCommandTimedOut,
ReadinessCommandFailed,
ReadinessTimedOut,
OutputEndedBeforeReadiness,
ExitedBeforeReadiness,
}Expand description
Machine-readable persistent process startup failure classification.
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.
SpawnFailed
The persistent process could not be spawned.
ReadinessCommandTimedOut
The readiness command timed out.
ReadinessCommandFailed
The readiness command exited unsuccessfully.
ReadinessTimedOut
The process did not become ready before the readiness timeout.
OutputEndedBeforeReadiness
Output streams ended before output readiness was observed.
ExitedBeforeReadiness
The process exited before becoming ready.
Trait Implementations§
Source§impl Clone for PersistentStartErrorKind
impl Clone for PersistentStartErrorKind
Source§fn clone(&self) -> PersistentStartErrorKind
fn clone(&self) -> PersistentStartErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PersistentStartErrorKind
Source§impl Debug for PersistentStartErrorKind
impl Debug for PersistentStartErrorKind
impl Eq for PersistentStartErrorKind
Source§impl PartialEq for PersistentStartErrorKind
impl PartialEq for PersistentStartErrorKind
Source§fn eq(&self, other: &PersistentStartErrorKind) -> bool
fn eq(&self, other: &PersistentStartErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PersistentStartErrorKind
Auto Trait Implementations§
impl Freeze for PersistentStartErrorKind
impl RefUnwindSafe for PersistentStartErrorKind
impl Send for PersistentStartErrorKind
impl Sync for PersistentStartErrorKind
impl Unpin for PersistentStartErrorKind
impl UnsafeUnpin for PersistentStartErrorKind
impl UnwindSafe for PersistentStartErrorKind
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