pub trait DefaultReturn {
// Required method
fn default_return() -> Self;
}Expand description
Allows to construct the return value when test is skipped
When not explicitly given by the skip_result parameter, the test will
return DefaultReturn::default_return().
Application might need to implement an own implementation for uncommon return type.
Required Methods§
fn default_return() -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.