Struct expectest::matchers::HaveCount
[−]
[src]
pub struct HaveCount { // some fields omitted }
A matcher for have_count
assertions.
Trait Implementations
impl<A, T> Matcher<A, ()> for HaveCount where A: Iterator<Item=T> + Clone
[src]
fn failure_message(&self, join: Join, actual: &A) -> String
Returns a failure message.
fn matches(&self, actual: &A) -> bool
Checks if an actual value matches an expected value.