pub struct SetupFailedTestsFile;Expand description
This step is run as a dependency of most testing steps.
Upon running, a file is created for failed tests to be recorded in if --record is passed on
the command line.
This step is the only way to get access to a token type called RecordFailedTests.
Having this token type signifies the fact that a file was created to store failed tests in,
and is required to create a Renderer, the type that renders the outputs of tests.
If --rerun isn’t passed, or we’re in dry-run mode, running this step is a no-op,
and the RecordFailedTest type doesn’t (need to) signify anything.
Trait Implementations§
Source§impl Clone for SetupFailedTestsFile
impl Clone for SetupFailedTestsFile
Source§fn clone(&self) -> SetupFailedTestsFile
fn clone(&self) -> SetupFailedTestsFile
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for SetupFailedTestsFile
Source§impl Debug for SetupFailedTestsFile
impl Debug for SetupFailedTestsFile
impl Eq for SetupFailedTestsFile
Source§impl Hash for SetupFailedTestsFile
impl Hash for SetupFailedTestsFile
Source§impl PartialEq for SetupFailedTestsFile
impl PartialEq for SetupFailedTestsFile
Source§impl Step for SetupFailedTestsFile
impl Step for SetupFailedTestsFile
impl StructuralPartialEq for SetupFailedTestsFile
Auto Trait Implementations§
impl Freeze for SetupFailedTestsFile
impl RefUnwindSafe for SetupFailedTestsFile
impl Send for SetupFailedTestsFile
impl Sync for SetupFailedTestsFile
impl Unpin for SetupFailedTestsFile
impl UnsafeUnpin for SetupFailedTestsFile
impl UnwindSafe for SetupFailedTestsFile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Pointable for T
impl<T> Pointable for T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 0 bytes