We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The query API is iterator based. Each iteration is technically fallible but there's no great way to report errors.
I played around with making the iterator type by Result<T> but that can cause infinite loops: 24aa7ea .
Result<T>
Not sure what can be done about it. Maybe https://docs.rs/fallible-iterator/0.2.0/fallible_iterator/ but that library isn't very nice b/c it reimplements much of the iterator standard library helpers.
The text was updated successfully, but these errors were encountered:
How do your proposed changes cause an infinite loop? Shouldn't we stop when bpf_obj_get_next_id returns a non-zero value?
bpf_obj_get_next_id
Sorry, something went wrong.
No branches or pull requests
The query API is iterator based. Each iteration is technically fallible but there's no great way to report errors.
I played around with making the iterator type by
Result<T>
but that can cause infinite loops: 24aa7ea .Not sure what can be done about it. Maybe https://docs.rs/fallible-iterator/0.2.0/fallible_iterator/ but that library isn't very nice b/c it reimplements much of the iterator standard library helpers.
The text was updated successfully, but these errors were encountered: