pub struct ExplorerControl<'a> { /* private fields */ }Implementations§
Source§impl<'a> ExplorerControl<'a>
impl<'a> ExplorerControl<'a>
pub fn new() -> Self
pub fn set_deadline(&mut self, deadline: Option<Instant>)
pub fn set_cancellation_callback( &mut self, cancellation: Option<&'a dyn Fn() -> bool>, )
pub fn set_progress_callback( &mut self, progress: Option<&'a mut dyn FnMut(ExplorerProgress)>, )
pub fn set_matched_row_callback( &mut self, matched_row: Option<&'a mut dyn FnMut(u64, u64) -> bool>, )
pub fn set_progress_interval(&mut self, interval: Duration)
pub fn stop_reason(&self) -> Option<ExplorerStopReason>
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ExplorerControl<'a>
impl<'a> !Send for ExplorerControl<'a>
impl<'a> !Sync for ExplorerControl<'a>
impl<'a> !UnwindSafe for ExplorerControl<'a>
impl<'a> Freeze for ExplorerControl<'a>
impl<'a> Unpin for ExplorerControl<'a>
impl<'a> UnsafeUnpin for ExplorerControl<'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