Struct expectest::matchers::BeOk [] [src]

pub struct BeOk;

A matcher for be_ok assertions for Result<T, E> type.

Methods

impl BeOk
[src]

Returns a new BeOkValue matcher.

Trait Implementations

impl<A, T> Matcher<Result<A, T>, ()> for BeOk where
    A: Debug,
    T: Debug
[src]

Returns a failure message.

Checks if an actual value matches an expected value.