You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Receiver is already re-exported, but its associated error types are not. As a result, users who call Receiver::recv() must add flume as a direct dependency to their Cargo.toml just to access those error types.
In one of my projects, for example, I'd like to implement From<RecvError> for my own error type. Because RecvError isn't re-exported, I'm forced to depend on flume directly.
Since Receiver is already re-exported here, could we also re-export its associated error types (e.g. RecvError, RecvTimeoutError, TryRecvError, etc.)? That would make the public API more self-contained and avoid requiring downstream crates to depend on flume solely for the receiver's error types.
Activity
keepsimple1 commentedon Aug 8, 2026
That's a valid issue. I've opened a PR #489 to fix it. Feel free to add comments there.
feat: re-export Receiver error types (#488) (#489)