Mockall: how to return a mocked struct from another one

· Users Rust Lang · June 9, 2026, 11:18 a.m.
Summary
The blog post discusses using `mockall` to create a wrapper for the Windows Service API, detailing challenges in mocking nested structs. It provides code snippets illustrating the implementation of the service manager and service functionalities, and seeks guidance on achieving nested mock structures with `mockall`.