pub struct Polling {
pub poll_rate: Duration,
pub printing: bool,
pub early_exit_minimum: Option<f64>,
pub thread_execution_reporting: bool,
}Expand description
The struct defining polling data.
Fields§
§poll_rate: DurationHow often to poll the process.
printing: boolIf to print progress.
early_exit_minimum: Option<f64>If to exit early if the evaluation function produces a value less than or equal to the given value.
thread_execution_reporting: boolIf to print thread execution information.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Polling
impl RefUnwindSafe for Polling
impl Send for Polling
impl Sync for Polling
impl Unpin for Polling
impl UnwindSafe for Polling
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more