#[non_exhaustive]pub enum HealthcheckArguments<'a> {
Cmd {
cmd: Keyword,
arguments: Command<'a>,
},
None {
none: Keyword,
},
}
Expand description
Arguments of the HEALTHCHECK
instruction.
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.
Cmd
HEALTHCHECK [options] CMD ...
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
None
HEALTHCHECK [options] NONE
Trait Implementations§
Source§impl<'a> Debug for HealthcheckArguments<'a>
impl<'a> Debug for HealthcheckArguments<'a>
Auto Trait Implementations§
impl<'a> Freeze for HealthcheckArguments<'a>
impl<'a> RefUnwindSafe for HealthcheckArguments<'a>
impl<'a> Send for HealthcheckArguments<'a>
impl<'a> Sync for HealthcheckArguments<'a>
impl<'a> Unpin for HealthcheckArguments<'a>
impl<'a> UnwindSafe for HealthcheckArguments<'a>
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