pub struct TaskOutput { /* private fields */ }Expand description
Output from a shell command task
Implementations§
Source§impl TaskOutput
impl TaskOutput
pub fn new() -> Self
pub async fn get_stdout(&self) -> String
pub fn get_stderr(&self) -> String
pub fn append_stdout(&self, data: &str)
pub fn append_stderr(&self, data: &str)
Trait Implementations§
Source§impl Clone for TaskOutput
impl Clone for TaskOutput
Source§fn clone(&self) -> TaskOutput
fn clone(&self) -> TaskOutput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TaskOutput
impl RefUnwindSafe for TaskOutput
impl Send for TaskOutput
impl Sync for TaskOutput
impl Unpin for TaskOutput
impl UnsafeUnpin for TaskOutput
impl UnwindSafe for TaskOutput
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