Module mock_ffi

Source
👎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 … } }

Modules§

__ffi_funcDeprecated

Functions§

checkpointDeprecated
Verify that all current expectations for every function in this module are satisfied and clear them.
ffi_funcDeprecated
A foreign “C” function.
ffi_func_contextDeprecated
Create a Context for mocking the ffi_func method