Trait mockers::Expectation [−][src]
pub trait Expectation { fn call_match(&self) -> &CallMatch; fn is_satisfied(&self) -> bool; fn satisfy(&mut self, call: Call, mock_name: &str) -> BoxFn0<*mut u8>; fn describe(&self) -> String; }
Required Methods
fn call_match(&self) -> &CallMatch
fn is_satisfied(&self) -> bool
fn satisfy(&mut self, call: Call, mock_name: &str) -> BoxFn0<*mut u8>
fn describe(&self) -> String
Implementors
impl<CM: CallMatch> Expectation for ExpectationNever<CM>
impl<Res: 'static> Expectation for ExpectationTimes0<Res>
impl<Res: 'static> Expectation for Expectation0<Res>
impl<Arg0: 'static, Res: 'static> Expectation for ExpectationTimes1<Arg0, Res>
impl<Arg0: 'static, Res: 'static> Expectation for Expectation1<Arg0, Res>
impl<Arg0: 'static, Arg1: 'static, Res: 'static> Expectation for ExpectationTimes2<Arg0, Arg1, Res>
impl<Arg0: 'static, Arg1: 'static, Res: 'static> Expectation for Expectation2<Arg0, Arg1, Res>
impl<Arg0: 'static, Arg1: 'static, Arg2: 'static, Res: 'static> Expectation for ExpectationTimes3<Arg0, Arg1, Arg2, Res>
impl<Arg0: 'static, Arg1: 'static, Arg2: 'static, Res: 'static> Expectation for Expectation3<Arg0, Arg1, Arg2, Res>
impl<Arg0: 'static, Arg1: 'static, Arg2: 'static, Arg3: 'static, Res: 'static> Expectation for ExpectationTimes4<Arg0, Arg1, Arg2, Arg3, Res>
impl<Arg0: 'static, Arg1: 'static, Arg2: 'static, Arg3: 'static, Res: 'static> Expectation for Expectation4<Arg0, Arg1, Arg2, Arg3, Res>
impl Expectation for Sequence