struct Common {
matcher: Mutex<Matcher>,
seq_handle: Option<SeqHandle>,
times: Times,
}
Expand description
Holds the stuff that is independent of the output type
Fields§
§matcher: Mutex<Matcher>
§seq_handle: Option<SeqHandle>
§times: Times
Implementations§
Source§impl Common
impl Common
fn call(&self, desc: &str)
fn in_sequence(&mut self, __mockall_seq: &mut Sequence) -> &mut Self
fn is_done(&self) -> bool
fn matches( &self, push_registration_request_model: &Option<PushRegistrationRequestModel>, ) -> bool
fn satisfy_sequence(&self)
Sourcefn times<MockallR>(&mut self, __mockall_r: MockallR)where
MockallR: Into<TimesRange>,
fn times<MockallR>(&mut self, __mockall_r: MockallR)where
MockallR: Into<TimesRange>,
Expect this expectation to be called any number of times contained with the given range.
fn with<MockallMatcher0: Predicate<Option<PushRegistrationRequestModel>> + Send + 'static>( &mut self, push_registration_request_model: MockallMatcher0, )
fn withf<MockallF>(&mut self, __mockall_f: MockallF)
fn withf_st<MockallF>(&mut self, __mockall_f: MockallF)
fn verify_sequence(&self, desc: &str)
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Common
impl RefUnwindSafe for Common
impl Send for Common
impl Sync for Common
impl Unpin for Common
impl UnwindSafe for Common
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more