pub struct InvocationResult { /* private fields */ }Expand description
Captured result of one candidate invocation.
Implementations§
Source§impl InvocationResult
impl InvocationResult
Sourcepub fn new(
termination: Termination,
stdout: Vec<u8>,
stderr: Vec<u8>,
duration: Duration,
) -> Self
pub fn new( termination: Termination, stdout: Vec<u8>, stderr: Vec<u8>, duration: Duration, ) -> Self
Creates an owned invocation result, primarily for custom runners.
Sourcepub fn termination(&self) -> Termination
pub fn termination(&self) -> Termination
Returns how the process ended.
Trait Implementations§
Source§impl Clone for InvocationResult
impl Clone for InvocationResult
Source§impl Debug for InvocationResult
impl Debug for InvocationResult
impl Eq for InvocationResult
Source§impl PartialEq for InvocationResult
impl PartialEq for InvocationResult
impl StructuralPartialEq for InvocationResult
Auto Trait Implementations§
impl Freeze for InvocationResult
impl RefUnwindSafe for InvocationResult
impl Send for InvocationResult
impl Sync for InvocationResult
impl Unpin for InvocationResult
impl UnsafeUnpin for InvocationResult
impl UnwindSafe for InvocationResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.