Handling #[non_exhaustive] structs in Rust unit tests with MongoDB and Axum
I’m developing a Rust project using MongoDB. While writing unit tests, I encountered the #[non_exhaustive] attribute used in the MongoDB library.
I’m developing a Rust project using MongoDB. While writing unit tests, I encountered the #[non_exhaustive] attribute used in the MongoDB library.