pub enum RemoveOutcome {
NoAskJson,
NoMatch(String),
Removed(String),
}Expand description
Outcome of run_remove. The CLI maps each to a consola-equivalent line;
all three exit 0 (matching the TS warn/success behaviour).
Variants§
NoAskJson
No ask.json present — nothing to remove.
NoMatch(String)
No entry matched target.
Removed(String)
Removed the entry with this spec.
Trait Implementations§
Source§impl Clone for RemoveOutcome
impl Clone for RemoveOutcome
Source§impl Debug for RemoveOutcome
impl Debug for RemoveOutcome
impl Eq for RemoveOutcome
Source§impl PartialEq for RemoveOutcome
impl PartialEq for RemoveOutcome
impl StructuralPartialEq for RemoveOutcome
Auto Trait Implementations§
impl Forget for RemoveOutcome
impl Freeze for RemoveOutcome
impl Move for RemoveOutcome
impl RefUnwindSafe for RemoveOutcome
impl Send for RemoveOutcome
impl Sync for RemoveOutcome
impl Unpin for RemoveOutcome
impl UnsafeUnpin for RemoveOutcome
impl UnwindSafe for RemoveOutcome
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