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
I am trying to read from std::io::Read using CRC. As this feature in not standard I am trying to use Flavors.
However, I can't create an IOReader as its new() constructor is a private associated function, and if I try to crate the struct directly I can't because I need a SlidingBuffer, which is a private struct.
There is a reason why this is the case or am I missing something?
The text was updated successfully, but these errors were encountered:
Hey @giacomocaironi and @jamesmunns I don't see the reason why I've put IOReader new as private..... Probably overlooked it since I did not compose them with other flavors for my usecase.
I think we could just put the newfrom IOReader and EIOReader as public which would allow the user to compose the flavors as he see fit.
I am trying to read from std::io::Read using CRC. As this feature in not standard I am trying to use Flavors.
However, I can't create an IOReader as its new() constructor is a private associated function, and if I try to crate the struct directly I can't because I need a SlidingBuffer, which is a private struct.
There is a reason why this is the case or am I missing something?
The text was updated successfully, but these errors were encountered: