pub enum RunResult {
Done(Output),
TimedOut {
out: String,
err: String,
},
Died {
out: String,
err: String,
},
Failed(String),
}Expand description
How a session command ended.
Variants§
Done(Output)
TimedOut
The deadline passed; the session must be killed. Paths hold what the command wrote.
Died
The shell ended before reporting (e.g. the command ran exit).
Failed(String)
Auto Trait Implementations§
impl Forget for RunResult
impl Freeze for RunResult
impl Move for RunResult
impl RefUnwindSafe for RunResult
impl Send for RunResultwhere
RawVecInner: Send,
impl Sync for RunResultwhere
RawVecInner: Sync,
impl Unpin for RunResult
impl UnsafeUnpin for RunResult
impl UnwindSafe for RunResultwhere
RawVecInner: UnwindSafe,
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