mongo-rust-driver icon indicating copy to clipboard operation
mongo-rust-driver copied to clipboard

cursor.hasNext() is not pub

Open mpbb opened this issue 11 months ago • 1 comments

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

mpbb avatar Dec 04 '24 17:12 mpbb

Hey @mpbb, thanks for opening this issue! I filed RUST-2113 to discuss this with the team; feel free to follow there for updates.

isabelatkinson avatar Dec 04 '24 21:12 isabelatkinson