pub enum Outcome {
Success,
HadFormattingIssues(Vec<FormatError>),
}Expand description
The outcome of a CLI operation.
Distinguishes between complete success and “soft failures” like formatting issues where output was still written but there were problems.
Variants§
Success
Operation completed successfully with no issues.
HadFormattingIssues(Vec<FormatError>)
Output was written, but there were formatting issues.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnwindSafe for Outcome
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