/// Switch source and sink error.
Switch source and sink error.
Switch source and sink error .
pub fn reverse(self) -> StreamError<SinkErr, SourceErr> {
        match self {
            SourceError(e) => SinkError(e),
            SinkError(e) => SourceError(e),
        }
    }
pub fn reverse ( self ) -> StreamError < SinkErr , SourceErr > { match self { SourceError ( e ) => SinkError ( e ) , SinkError ( e ) => SourceError ( e ) , } }
Switch source and sink error.
Switch source and sink error .
self