Struct mockers::CallMatch0
[−]
[src]
#[must_use] pub struct CallMatch0<Res> { /* fields omitted */ }
#[must_use] pub struct CallMatch0<Res> { /* fields omitted */ }
impl<Res> CallMatch0<Res>
[src]impl<Res: 'static> CallMatch0<Res>
[src]fn and_return(self, result: Res) -> Expectation0<Res>
fn and_panic(self, msg: String) -> Expectation0<Res>
fn and_call<F>(self, func: F) -> Expectation0<Res> where F: FnOnce() -> Res + 'static
fn never(self) -> ExpectationNever<Self>
impl<Res: Clone + 'static> CallMatch0<Res>
[src]fn and_return_clone(self, result: Res) -> Reaction0<Res>
fn and_call_clone<F>(self, func: F) -> Reaction0<Res> where F: FnMut() -> Res + 'static
impl<Res: Default + 'static> CallMatch0<Res>
[src]fn and_return_default(self) -> Reaction0<Res>
impl<Res> CallMatch for CallMatch0<Res>
[src]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