Struct lazy_badger::ScriptOutput
source · pub struct ScriptOutput { /* private fields */ }Expand description
The output of a script
Implementations§
source§impl ScriptOutput
impl ScriptOutput
sourcepub fn new(stdout: String, stderr: String, status: ExitStatus) -> Self
pub fn new(stdout: String, stderr: String, status: ExitStatus) -> Self
Create a new ScriptOutput object
sourcepub fn status(&self) -> ExitStatus
pub fn status(&self) -> ExitStatus
Status getter
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScriptOutput
impl RefUnwindSafe for ScriptOutput
impl Send for ScriptOutput
impl Sync for ScriptOutput
impl Unpin for ScriptOutput
impl UnwindSafe for ScriptOutput
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