Skip to content

[Question] How to use a stream (future) as reader? #327

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
harscoet opened this issue Oct 18, 2021 · 1 comment
Closed

[Question] How to use a stream (future) as reader? #327

harscoet opened this issue Oct 18, 2021 · 1 comment

Comments

@harscoet
Copy link

harscoet commented Oct 18, 2021

Sorry if it's obvious, I'm pretty new in Rust development!

I use bytes_stream method from reqwest to stream a file from google cloud storage, this method returns impl Stream<Item = Result<Bytes>>

How can I consume this stream with quick-xml? This lib seems to not handle async if I understand the PR #314 so maybe I should wait this feature

Thanks for the help!

@harscoet harscoet closed this as completed Jan 6, 2022
@garma83
Copy link

garma83 commented May 11, 2022

@harscoet did you ever find an answer or workaround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants