Trait galvanic_mock_lib::ArgMatcher [] [src]

pub trait ArgMatcher<'a, T: 'a> {
    fn match_args(&self, actual: &'a T) -> bool;
}

Defines a matcher for the arguments of a mocked method.

A matcher may check a single argument of a method or all arguments at once. If all arguments are to be checked then they should be passed in a curried form, e.g., as a tuple.

Required Methods

Implementors