mongo-rust-driver
mongo-rust-driver copied to clipboard
The official MongoDB Rust Driver
See the corresponding crate README at https://crates.io/crates/sha-1
RUST-2219
Method list_collections provides cursor which fails to run deserialize_current method on some data.
## Environment Rust: rustc 1.82.0 (f6e511eec 2024-10-15) OS: `Linux 31004c8e 6.10.6+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.6-1~bpo12+1 (2024-08-26) x86_64 GNU/Linux` mongodb rust package: 3.2.3 bson rust package: 2.14.0 mongodb server: 4.4.18...
I would like to use the cursor.hasNext() method documented here: https://www.mongodb.com/docs/upcoming/reference/method/cursor.hasNext/ It seems like this is not a public method on Cursor objects. Can this be made pub? https://github.com/mongodb/mongo-rust-driver/blob/0ac9fdfca571322dd49bc0b70e4f2637951e5a10/src/cursor.rs#L152