Type Definition Result
mongodb::error
type Result<T> = Result<T, Error>;
The result type for all methods that can return an error in the mongodb crate.
mongodb