a1ien / rusb

A safe Rust wrapper for libusb.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make rusb-async::Error as public

samueldotj opened this issue · comments

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?