Struct proptest::result::MaybeOkValueTree[][src]

pub struct MaybeOkValueTree<T, E>(_)
where
    T: Strategy,
    E: Strategy
;

ValueTree type corresponding to MaybeOk.

Trait Implementations

impl<T: Strategy, E: Strategy> Clone for MaybeOkValueTree<T, E> where
    T::Tree: Clone,
    E::Tree: Clone
[src]

impl<T: Strategy, E: Strategy> Debug for MaybeOkValueTree<T, E> where
    T::Tree: Debug,
    E::Tree: Debug
[src]

impl<T, E> ValueTree for MaybeOkValueTree<T, E> where
    T: Strategy,
    E: Strategy
[src]

type Value = Result<T::Value, E::Value>

The type of the value produced by this ValueTree.

Auto Trait Implementations

impl<T, E> Send for MaybeOkValueTree<T, E> where
    E: Send + Sync,
    T: Send + Sync,
    <E as Strategy>::Tree: Send,
    <T as Strategy>::Tree: Send,
    <E as Strategy>::Value: Send + Sync,
    <T as Strategy>::Value: Send + Sync
[src]

impl<T, E> Sync for MaybeOkValueTree<T, E> where
    E: Send + Sync,
    T: Send + Sync,
    <E as Strategy>::Tree: Sync,
    <T as Strategy>::Tree: Sync,
    <E as Strategy>::Value: Send + Sync,
    <T as Strategy>::Value: Send + Sync
[src]

impl<T, E> Unpin for MaybeOkValueTree<T, E> where
    <E as Strategy>::Tree: Unpin,
    <T as Strategy>::Tree: Unpin,
    <E as Strategy>::Value: Unpin,
    <T as Strategy>::Value: Unpin
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,