#[non_exhaustive]pub enum Cmd<'a> {
List(AndOrList<'a>),
Job(AndOrList<'a>),
}Expand description
A complete command — foreground or background.
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.
Trait Implementations§
impl<'a> Eq for Cmd<'a>
impl<'a> StructuralPartialEq for Cmd<'a>
Auto Trait Implementations§
impl<'a> Freeze for Cmd<'a>
impl<'a> RefUnwindSafe for Cmd<'a>
impl<'a> Send for Cmd<'a>
impl<'a> Sync for Cmd<'a>
impl<'a> Unpin for Cmd<'a>
impl<'a> UnsafeUnpin for Cmd<'a>
impl<'a> UnwindSafe for Cmd<'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