pub struct HelpCmdResult {
pub success: bool,
pub code: SysexitsError,
pub output: Vec<u8>,
}Fields§
§success: boolWhether the command was successful or not.
code: SysexitsErrorReturn code of the executed command.
output: Vec<u8>If success is true, this field contains stdout,
otherwise it contains stderr.
Auto Trait Implementations§
impl Freeze for HelpCmdResult
impl RefUnwindSafe for HelpCmdResult
impl Send for HelpCmdResult
impl Sync for HelpCmdResult
impl Unpin for HelpCmdResult
impl UnwindSafe for HelpCmdResult
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