👎Deprecated since 0.9.0: Using automock directly on an extern block is deprecated. Instead, wrap the extern block in a module, and automock that, like #[automoock] mod ffi { extern “C” { fn foo … } }
Structs§
- Context
Deprecated - Manages the context for expectations of static methods.
- Expectation
Deprecated - Expectation type for methods that return a
'static
type. This is the type returned by theexpect_*
methods. - Expectation
Guard Deprecated - Like an
&Expectation
but protected by a Mutex guard. Useful for mocking static methods. Forwards accesses to anExpectation
object.