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