pub struct Runner<A> { /* private fields */ }Implementations§
Source§impl<A: ReconstructionAlgorithm> Runner<A>
impl<A: ReconstructionAlgorithm> Runner<A>
pub fn new(algorithm: A, options: RunOptions) -> Self
pub fn with_callback(self, callback: Box<dyn Callback>) -> Self
pub fn with_callbacks(self, callbacks: Vec<Box<dyn Callback>>) -> Self
pub fn resume_from(self, checkpoint: ReconstructionCheckpoint) -> Self
pub fn with_backend(self, backend: Arc<dyn Backend>) -> Self
pub fn run<M: MeasurementRead>( self, problem: &ReconstructionProblem<M>, ) -> Result<ReconstructionResult>
Auto Trait Implementations§
impl<A> Freeze for Runner<A>where
A: Freeze,
impl<A> !RefUnwindSafe for Runner<A>
impl<A> Send for Runner<A>where
A: Send,
impl<A> !Sync for Runner<A>
impl<A> Unpin for Runner<A>where
A: Unpin,
impl<A> UnsafeUnpin for Runner<A>where
A: UnsafeUnpin,
impl<A> !UnwindSafe for Runner<A>
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