Trait test_casing::decorators::TestFn

source ·
pub trait TestFn<R>: Fn() -> R + UnwindSafe + Send + Sync + Copy + 'static { }
Expand description

Tested function or closure.

This trait is automatically implemented for all functions without arguments.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<R, F> TestFn<R> for F
where F: Fn() -> R + UnwindSafe + Send + Sync + Copy + 'static,