pub struct TestRunResult {
pub executable: TestExecutable,
pub status: TestRunStatus,
pub stdout: Vec<u8>,
pub stderr: Vec<u8>,
}Expand description
Result of running one test executable.
Fields§
§executable: TestExecutableThe executable that was run.
status: TestRunStatusOutcome classification (passed / failed).
stdout: Vec<u8>Captured stdout, in order of arrival.
stderr: Vec<u8>Captured stderr, in order of arrival.
Trait Implementations§
Source§impl Clone for TestRunResult
impl Clone for TestRunResult
Source§fn clone(&self) -> TestRunResult
fn clone(&self) -> TestRunResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TestRunResult
impl Debug for TestRunResult
impl Eq for TestRunResult
Source§impl PartialEq for TestRunResult
impl PartialEq for TestRunResult
Source§fn eq(&self, other: &TestRunResult) -> bool
fn eq(&self, other: &TestRunResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TestRunResult
Auto Trait Implementations§
impl Freeze for TestRunResult
impl RefUnwindSafe for TestRunResult
impl Send for TestRunResult
impl Sync for TestRunResult
impl Unpin for TestRunResult
impl UnsafeUnpin for TestRunResult
impl UnwindSafe for TestRunResult
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.