pub struct PartialOutcome { /* private fields */ }Available on crate feature
terminal only.Expand description
The outcome of a command that printed its result but did not fully succeed, such as a check with a failed backend or a refusal from a server.
A command returns it as its error once its result is printed:
ErrorReport::eval_coded then exits with its status without
printing anything more.
Implementations§
Trait Implementations§
Source§impl Clone for PartialOutcome
impl Clone for PartialOutcome
impl Copy for PartialOutcome
Source§impl Debug for PartialOutcome
impl Debug for PartialOutcome
Source§impl Default for PartialOutcome
impl Default for PartialOutcome
Source§impl Display for PartialOutcome
impl Display for PartialOutcome
impl Eq for PartialOutcome
Source§impl Error for PartialOutcome
impl Error for PartialOutcome
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for PartialOutcome
impl PartialEq for PartialOutcome
impl StructuralPartialEq for PartialOutcome
Auto Trait Implementations§
impl Freeze for PartialOutcome
impl RefUnwindSafe for PartialOutcome
impl Send for PartialOutcome
impl Sync for PartialOutcome
impl Unpin for PartialOutcome
impl UnsafeUnpin for PartialOutcome
impl UnwindSafe for PartialOutcome
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