Skip to content

cursor.hasNext() is not pub #1258

Open
Open
@mpbb

Description

@mpbb

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 {

Metadata

Metadata

Labels

tracked-in-jiraTicket filed in Mongo's Jira system

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions