make UpstreamError pub

This commit is contained in:
Edward Shen 2021-04-09 22:00:09 -04:00
parent 70b7e61745
commit c776f09026
Signed by: edward
GPG key ID: 19182661E818369F

View file

@ -90,7 +90,7 @@ impl FromFsStream {
} }
/// Represents some upstream error. /// Represents some upstream error.
struct UpstreamError; pub struct UpstreamError;
impl Stream for FromFsStream { impl Stream for FromFsStream {
type Item = Result<Bytes, UpstreamError>; type Item = Result<Bytes, UpstreamError>;