#[non_exhaustive]pub enum ResolvedCommand {
Resolved(ParsedCommand),
Unanalyzable(UnanalyzableCommand),
}Expand description
Result of resolving a command through the indirection layer.
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.
Resolved(ParsedCommand)
Wrappers stripped, command structurally parsed.
Unanalyzable(UnanalyzableCommand)
The command is unanalyzable — eval, source, shell -c, dynamic $cmd.
Trait Implementations§
Source§impl Clone for ResolvedCommand
impl Clone for ResolvedCommand
Source§fn clone(&self) -> ResolvedCommand
fn clone(&self) -> ResolvedCommand
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 moreAuto Trait Implementations§
impl Freeze for ResolvedCommand
impl RefUnwindSafe for ResolvedCommand
impl Send for ResolvedCommand
impl Sync for ResolvedCommand
impl Unpin for ResolvedCommand
impl UnsafeUnpin for ResolvedCommand
impl UnwindSafe for ResolvedCommand
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