#[non_exhaustive]pub enum HealthcheckCommand {
Exec(Vec<ProtectedString>),
Shell(ProtectedString),
}Expand description
How a container runtime executes one service health check.
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.
Exec(Vec<ProtectedString>)
Execute an argument vector without a container shell.
Shell(ProtectedString)
Execute authored command text through the container shell.
Trait Implementations§
Source§impl Clone for HealthcheckCommand
impl Clone for HealthcheckCommand
Source§fn clone(&self) -> HealthcheckCommand
fn clone(&self) -> HealthcheckCommand
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 HealthcheckCommand
impl Debug for HealthcheckCommand
impl Eq for HealthcheckCommand
Source§impl PartialEq for HealthcheckCommand
impl PartialEq for HealthcheckCommand
impl StructuralPartialEq for HealthcheckCommand
Auto Trait Implementations§
impl Freeze for HealthcheckCommand
impl RefUnwindSafe for HealthcheckCommand
impl Send for HealthcheckCommand
impl Sync for HealthcheckCommand
impl Unpin for HealthcheckCommand
impl UnsafeUnpin for HealthcheckCommand
impl UnwindSafe for HealthcheckCommand
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