[][src]Trait tensile::Testable

pub trait Testable: Send {
    type Error;
    fn test(self) -> TestFuture<Self::Error>;
}

Associated Types

type Error

Loading content...

Required methods

fn test(self) -> TestFuture<Self::Error>

Loading content...

Implementations on Foreign Types

impl<Error> Testable for Box<dyn BoxTestable<Error = Error>>[src]

type Error = Error

impl Testable for bool[src]

type Error = String

impl Testable for ()[src]

type Error = String

impl<E> Testable for Result<(), E> where
    E: Send + 'static, 
[src]

type Error = E

Loading content...

Implementors

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

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

type Error = T::Error

Loading content...