Closed Property404 closed 2 years ago
Thanks for the PR! Looking good.
A potential drawback I see is the following: VFS implementations would now be required to return Send
able results. I'm trying to figure out if that would exclude any useful future implementations.
Previously, these APIs would return a trait object not marked Send, which made it difficult to use in an async context.
Adding 'Send' requires very little modification (though I think this should still be a major version bump because it affects a public trait) and greatly improves usability for async code.