Async transfer API added#73
Closed
dmitry-zakablukov wants to merge 2 commits intoa1ien:masterfrom
passware:async_transfer
Closed
Async transfer API added#73dmitry-zakablukov wants to merge 2 commits intoa1ien:masterfrom passware:async_transfer
dmitry-zakablukov wants to merge 2 commits intoa1ien:masterfrom
passware:async_transfer
Conversation
matallui
reviewed
Jun 30, 2021
src/transfer/unhandled_transfer.rs
Outdated
| Ok(()) | ||
| } | ||
|
|
||
| fn allocate_trhansfer_handle(iso_packets: i32) -> Result<*mut libusb_transfer> { |
Contributor
Author
There was a problem hiding this comment.
Yes, thank you, fixed.
Owner
|
I think it's good to split this PR. |
Contributor
Author
|
@a1ien are you planning to merge this patch? |
Owner
|
I want find some time to rework. And maybe as separate crate in workspace. Because I want more test. P.S. I am now in relocation process so to much new things in new country :) |
Owner
|
Closed in favor of #143 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Good day.
This pr suggests some API updates to support async transfers.
Async transfer usage:
You can take this changes as a base for your own API or just merge it as is.