#[non_exhaustive]pub enum PersistentReadiness {
Started,
OutputContains(String),
Command(ProcessSpec),
}Expand description
Persistent process readiness policy.
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.
Started
The process is ready immediately after it is spawned.
OutputContains(String)
The process is ready when either output stream contains the text.
Command(ProcessSpec)
The process is ready when a command exits successfully.
Trait Implementations§
Source§impl Clone for PersistentReadiness
impl Clone for PersistentReadiness
Source§fn clone(&self) -> PersistentReadiness
fn clone(&self) -> PersistentReadiness
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 moreSource§impl Debug for PersistentReadiness
impl Debug for PersistentReadiness
impl Eq for PersistentReadiness
Source§impl PartialEq for PersistentReadiness
impl PartialEq for PersistentReadiness
impl StructuralPartialEq for PersistentReadiness
Auto Trait Implementations§
impl Freeze for PersistentReadiness
impl RefUnwindSafe for PersistentReadiness
impl Send for PersistentReadiness
impl Sync for PersistentReadiness
impl Unpin for PersistentReadiness
impl UnsafeUnpin for PersistentReadiness
impl UnwindSafe for PersistentReadiness
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