Skip to main content

TestReturnValue

Trait TestReturnValue 

Source
pub trait TestReturnValue {
    // Required method
    fn into_result(self: Box<Self>) -> Result<(), FailureCause>;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl TestReturnValue for ()

Source§

impl<T, E> TestReturnValue for Result<T, E>
where E: Display + Debug + Send + Sync + 'static,

Implementors§