#[non_exhaustive]pub enum OutsidePackageAction {
Workspace,
Ignore,
Error,
}Expand description
Action to take when a path is not within any package.
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.
Workspace
Use the entire workspace.
Ignore
Ignore and do not run the subcommand, exit with success.
Error
Error and do not run the subcommand, exit with failure.
Trait Implementations§
Source§impl Clone for OutsidePackageAction
impl Clone for OutsidePackageAction
Source§fn clone(&self) -> OutsidePackageAction
fn clone(&self) -> OutsidePackageAction
Returns a duplicate of the value. Read more
1.0.0 · 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 OutsidePackageAction
impl Debug for OutsidePackageAction
Source§impl FromStr for OutsidePackageAction
impl FromStr for OutsidePackageAction
Source§impl PartialEq for OutsidePackageAction
impl PartialEq for OutsidePackageAction
impl Eq for OutsidePackageAction
impl StructuralPartialEq for OutsidePackageAction
Auto Trait Implementations§
impl Freeze for OutsidePackageAction
impl RefUnwindSafe for OutsidePackageAction
impl Send for OutsidePackageAction
impl Sync for OutsidePackageAction
impl Unpin for OutsidePackageAction
impl UnwindSafe for OutsidePackageAction
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