[][src]Struct tensile::Future

pub struct Future<F>(pub F);

Trait Implementations

impl<F> Testable for Future<F> where
    F: Future + Send + 'static,
    F::Output: Testable + 'static,
    <F::Output as Testable>::Error: for<'a> From<&'a str> + From<String> + Send
[src]

type Error = <F::Output as Testable>::Error

Auto Trait Implementations

impl<F> RefUnwindSafe for Future<F> where
    F: RefUnwindSafe

impl<F> Send for Future<F> where
    F: Send

impl<F> Sync for Future<F> where
    F: Sync

impl<F> Unpin for Future<F> where
    F: Unpin

impl<F> UnwindSafe for Future<F> where
    F: UnwindSafe

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> BoxTestable for T where
    T: Testable
[src]

type Error = <T as Testable>::Error

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

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

impl<F, T> Testable for F where
    F: FnOnce() -> T + Send + 'static,
    T: Testable + 'static,
    <T as Testable>::Error: for<'a> From<&'a str>,
    <T as Testable>::Error: From<String>,
    <T as Testable>::Error: Send
[src]

type Error = <T as Testable>::Error

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.