Trait mockers::CallMatch [] [src]

pub trait CallMatch {
    fn matches_args(&self, call: &Call) -> bool;
fn validate(&self, call: &Call) -> Vec<Result<(), String>>;
fn get_mock_id(&self) -> usize;
fn get_mock_type_id(&self) -> usize;
fn get_method_name(&self) -> &'static str;
fn describe(&self) -> String; fn matches(&self, call: &Call) -> bool { ... }
fn matches_target(&self, call: &Call) -> bool { ... }
fn matches_method(&self, call: &Call) -> bool { ... } }

Required Methods

Provided Methods

Implementors