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: TimesImplementations§
Source§impl Common
impl Common
fn call<F: Fn() -> String>(&self, desc: F)
fn in_sequence(&mut self, __mockall_seq: &mut Sequence) -> &mut Self
fn is_done(&self) -> bool
fn matches<'a>( &self, domain_hint: &Option<&'a str>, return_url: &Option<&'a str>, user_identifier: &Option<&'a str>, sso_token: &Option<&'a str>, ) -> bool
fn satisfy_sequence(&self)
fn called_sequence(&self)
fn is_history_sequence(&self) -> bool
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: for<'a> Predicate<Option<&'a str>> + Send + 'static, MockallMatcher1: for<'a> Predicate<Option<&'a str>> + Send + 'static, MockallMatcher2: for<'a> Predicate<Option<&'a str>> + Send + 'static, MockallMatcher3: for<'a> Predicate<Option<&'a str>> + Send + 'static>( &mut self, domain_hint: MockallMatcher0, return_url: MockallMatcher1, user_identifier: MockallMatcher2, sso_token: MockallMatcher3, )
fn withf<MockallF>(&mut self, __mockall_f: MockallF)
fn withf_st<MockallF>(&mut self, __mockall_f: MockallF)
fn verify_sequence<F: Fn() -> String>(&self, desc: F)
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 UnsafeUnpin 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
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<> Read more