Type Definition turmoil::Result

source ·
pub type Result<T = ()> = Result<T, Box<dyn Error>>;
Expand description

A specialized Result type for turmoil simulations.

This type is generally useful for fallible test cases, i.e. where you want to use the ? operator to fail the test rather than writing unwrap everywhere.