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(&self, desc: &str)
fn in_sequence(&mut self, __mockall_seq: &mut Sequence) -> &mut Self
fn is_done(&self) -> bool
fn matches(&self, file: &File) -> 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<File> + Send + 'static>( &mut self, file: 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
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.