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

Make rusb-async::Error as public #160

Open
samueldotj opened this issue Feb 23, 2023 · 0 comments
Open

Make rusb-async::Error as public #160

samueldotj opened this issue Feb 23, 2023 · 0 comments

Comments

@samueldotj
Copy link

I am using the Transfer::poll() and trying to differentiate between timeout and other errors. It is not possible today since the error enum is private.

The following line needs to change to pub?

use error::{Error, Result};

Or the intention is not to expose Error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant