pub struct FnTrialExecutor<F>(pub F);Expand description
Function-based trial executor for convenience.
Tuple Fields§
§0: FTrait Implementations§
Source§impl<F> TrialExecutor for FnTrialExecutor<F>
impl<F> TrialExecutor for FnTrialExecutor<F>
fn execute_trial(&self, params: &HashMap<String, Value>) -> Result<TrialOutcome>
Auto Trait Implementations§
impl<F> Freeze for FnTrialExecutor<F>where
F: Freeze,
impl<F> RefUnwindSafe for FnTrialExecutor<F>where
F: RefUnwindSafe,
impl<F> Send for FnTrialExecutor<F>where
F: Send,
impl<F> Sync for FnTrialExecutor<F>where
F: Sync,
impl<F> Unpin for FnTrialExecutor<F>where
F: Unpin,
impl<F> UnsafeUnpin for FnTrialExecutor<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for FnTrialExecutor<F>where
F: UnwindSafe,
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