pub struct CommandOutcome {
pub success: bool,
pub error: Option<String>,
}Expand description
The outcome of a single command.
Fields§
§success: boolWhether the command was successful.
error: Option<String>A human-readable error message.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CommandOutcome
impl RefUnwindSafe for CommandOutcome
impl Send for CommandOutcome
impl Sync for CommandOutcome
impl Unpin for CommandOutcome
impl UnwindSafe for CommandOutcome
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