Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cursor.hasNext() is not pub #1258

Open
mpbb opened this issue Dec 4, 2024 · 1 comment
Open

cursor.hasNext() is not pub #1258

mpbb opened this issue Dec 4, 2024 · 1 comment
Assignees
Labels
tracked-in-jira Ticket filed in Mongo's Jira system

Comments

@mpbb
Copy link

mpbb commented Dec 4, 2024

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?

pub(crate) fn has_next(&self) -> bool {

@isabelatkinson
Copy link
Contributor

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 isabelatkinson added tracked-in-jira Ticket filed in Mongo's Jira system and removed triage labels Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tracked-in-jira Ticket filed in Mongo's Jira system
Projects
None yet
Development

No branches or pull requests

2 participants