#[non_exhaustive]pub enum CommandField {
Mise(String),
Argv(Vec<String>),
}Expand description
A driver’s read or write step: a mise task or an argv.
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.
Mise(String)
A mise run task name.
Argv(Vec<String>)
A program and its arguments, run without a shell.
Trait Implementations§
Source§impl Clone for CommandField
impl Clone for CommandField
Source§impl Debug for CommandField
impl Debug for CommandField
Source§impl<'de> Deserialize<'de> for CommandField
impl<'de> Deserialize<'de> for CommandField
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for CommandField
impl Freeze for CommandField
impl Move for CommandField
impl RefUnwindSafe for CommandField
impl Send for CommandFieldwhere
RawVecInner: Send,
impl Sync for CommandFieldwhere
RawVecInner: Sync,
impl Unpin for CommandField
impl UnsafeUnpin for CommandFieldwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for CommandFieldwhere
RawVecInner: UnwindSafe,
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