Struct test::test::TestTimeOptions [−][src]
pub struct TestTimeOptions {
pub error_on_excess: bool,
pub colored: bool,
pub unit_threshold: TimeThreshold,
pub integration_threshold: TimeThreshold,
pub doctest_threshold: TimeThreshold,
}🔬 This is a nightly-only experimental API. (
test)Expand description
Structure with parameters for calculating test execution time.
Fields
error_on_excess: bool🔬 This is a nightly-only experimental API. (
test)Denotes if the test critical execution time limit excess should be considered a test failure.
colored: bool🔬 This is a nightly-only experimental API. (
test)unit_threshold: TimeThreshold🔬 This is a nightly-only experimental API. (
test)integration_threshold: TimeThreshold🔬 This is a nightly-only experimental API. (
test)doctest_threshold: TimeThreshold🔬 This is a nightly-only experimental API. (
test)Implementations
🔬 This is a nightly-only experimental API. (
test)🔬 This is a nightly-only experimental API. (
test)🔬 This is a nightly-only experimental API. (
test)Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for TestTimeOptionsimpl Send for TestTimeOptionsimpl Sync for TestTimeOptionsimpl Unpin for TestTimeOptionsimpl UnwindSafe for TestTimeOptionsBlanket Implementations
Mutably borrows from an owned value. Read more