Mocking
Mocking is supported through the mockall
crate. This crate provides multiple
ways to mock throughout your crate, including:
Note: This documentation does not cover the specifics of each approach, as the
mockall
crate itself has extensive documentation and examples for different types of mocking.