pub struct JobResult { /* private fields */ }Implementations§
Source§impl JobResult
impl JobResult
pub fn get_stdout(&mut self) -> Result<Vec<u8>>
pub fn get_stderr(&mut self) -> Result<Vec<u8>>
pub fn get_exit_code(&mut self) -> Result<u16>
pub fn get_files(&mut self) -> Result<Vec<OutputFile>>
pub fn get_file_data(&self, file: &OutputFile) -> Result<Vec<u8>>
Auto Trait Implementations§
impl Freeze for JobResult
impl !RefUnwindSafe for JobResult
impl !Send for JobResult
impl !Sync for JobResult
impl Unpin for JobResult
impl UnsafeUnpin for JobResult
impl !UnwindSafe for JobResult
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