Struct bolero_engine::driver::Options
source · pub struct Options { /* private fields */ }
Implementations§
source§impl Options
impl Options
pub const DEFAULT_MAX_DEPTH: usize = 5usize
pub const DEFAULT_MAX_LEN: usize = 4_096usize
pub const DEFAULT_SHRINK_TIME: Duration = _
pub fn with_shrink_time(self, shrink_time: Duration) -> Options
pub fn with_max_depth(self, max_depth: usize) -> Options
pub fn with_max_len(self, max_len: usize) -> Options
pub fn set_shrink_time(&mut self, shrink_time: Duration) -> &mut Options
pub fn set_max_depth(&mut self, max_depth: usize) -> &mut Options
pub fn set_max_len(&mut self, max_len: usize) -> &mut Options
pub fn max_depth(&self) -> Option<usize>
pub fn max_len(&self) -> Option<usize>
pub fn shrink_time(&self) -> Option<Duration>
pub fn max_depth_or_default(&self) -> usize
pub fn max_len_or_default(&self) -> usize
pub fn shrink_time_or_default(&self) -> Duration
pub fn merge_from(&mut self, other: &Options)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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