#[non_exhaustive]pub enum EffectiveCommand {
Exec(Vec<ProtectedString>),
Empty,
}Expand description
Effective command arguments observed from a container or image.
Runtime inspection cannot recover whether the original definition used shell or exec syntax. Arguments are therefore retained as an effective exec vector and are sensitive by default.
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>)
Effective argument vector, redacted from debug output.
Empty
The runtime reported an explicitly empty command.
Implementations§
Source§impl EffectiveCommand
impl EffectiveCommand
Trait Implementations§
Source§impl Clone for EffectiveCommand
impl Clone for EffectiveCommand
Source§fn clone(&self) -> EffectiveCommand
fn clone(&self) -> EffectiveCommand
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 EffectiveCommand
impl Debug for EffectiveCommand
impl Eq for EffectiveCommand
Source§impl PartialEq for EffectiveCommand
impl PartialEq for EffectiveCommand
impl StructuralPartialEq for EffectiveCommand
Auto Trait Implementations§
impl Freeze for EffectiveCommand
impl RefUnwindSafe for EffectiveCommand
impl Send for EffectiveCommand
impl Sync for EffectiveCommand
impl Unpin for EffectiveCommand
impl UnsafeUnpin for EffectiveCommand
impl UnwindSafe for EffectiveCommand
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