pub enum TestGeneratorFunction {
Sync(Arc<dyn Fn() -> Vec<GeneratedTest> + Sync + Send>),
Async(Arc<dyn Fn() -> Pin<Box<dyn Future<Output = Vec<GeneratedTest>> + Send>> + Sync + Send>),
}
Variants§
Sync(Arc<dyn Fn() -> Vec<GeneratedTest> + Sync + Send>)
Async(Arc<dyn Fn() -> Pin<Box<dyn Future<Output = Vec<GeneratedTest>> + Send>> + Sync + Send>)
Trait Implementations§
Source§impl Clone for TestGeneratorFunction
impl Clone for TestGeneratorFunction
Source§fn clone(&self) -> TestGeneratorFunction
fn clone(&self) -> TestGeneratorFunction
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for TestGeneratorFunction
impl !RefUnwindSafe for TestGeneratorFunction
impl Send for TestGeneratorFunction
impl Sync for TestGeneratorFunction
impl Unpin for TestGeneratorFunction
impl !UnwindSafe for TestGeneratorFunction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more