[]Module mockall_examples::mock_ffi::__ffi_func

Structs

Expectation

Expectation type for methods that return a 'static type. This is the type returned by the expect_* methods.

ExpectationGuard

Like an &Expectation but protected by a Mutex guard. Useful for mocking static methods. Forwards accesses to an Expectation object.

GenericExpectationGuard

Like a ExpectationGuard but for generic methods.