[−][src]Struct bolero_engine::GeneratorTest
Methods
impl<F, G> GeneratorTest<F, G>
[src]
Trait Implementations
impl<F: RefUnwindSafe + FnMut(G::Output) -> Ret, G: RefUnwindSafe + ValueGenerator, Ret> Test for GeneratorTest<F, G> where
Ret: IntoTestResult,
G::Output: RefUnwindSafe,
[src]
Ret: IntoTestResult,
G::Output: RefUnwindSafe,
type Value = G::Output
fn test<T: TestInput<Result<bool, Error>>>(
&mut self,
input: &mut T
) -> Result<bool, Error>
[src]
&mut self,
input: &mut T
) -> Result<bool, Error>
fn generate_value<T: TestInput<Self::Value>>(
&self,
input: &mut T
) -> Self::Value
[src]
&self,
input: &mut T
) -> Self::Value
fn shrink(
&mut self,
input: Vec<u8>,
seed: Option<u64>,
driver_mode: Option<DriverMode>
) -> Option<TestFailure<Self::Value>>
[src]
&mut self,
input: Vec<u8>,
seed: Option<u64>,
driver_mode: Option<DriverMode>
) -> Option<TestFailure<Self::Value>>
Auto Trait Implementations
impl<F, G> RefUnwindSafe for GeneratorTest<F, G> where
F: RefUnwindSafe,
G: RefUnwindSafe,
F: RefUnwindSafe,
G: RefUnwindSafe,
impl<F, G> Send for GeneratorTest<F, G> where
F: Send,
G: Send,
F: Send,
G: Send,
impl<F, G> Sync for GeneratorTest<F, G> where
F: Sync,
G: Sync,
F: Sync,
G: Sync,
impl<F, G> Unpin for GeneratorTest<F, G> where
F: Unpin,
G: Unpin,
F: Unpin,
G: Unpin,
impl<F, G> UnwindSafe for GeneratorTest<F, G> where
F: UnwindSafe,
G: UnwindSafe,
F: UnwindSafe,
G: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,