mongo-rust-driver
mongo-rust-driver copied to clipboard
cursor.hasNext() is not pub
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
Hey @mpbb, thanks for opening this issue! I filed RUST-2113 to discuss this with the team; feel free to follow there for updates.