🐎 Add ChunkExt::write_chunk_in_async, SealedEntryExt::write_in_async for reduce copy#1322
🐎 Add ChunkExt::write_chunk_in_async, SealedEntryExt::write_in_async for reduce copy#1322ChanTsune wants to merge 1 commit into
ChunkExt::write_chunk_in_async, SealedEntryExt::write_in_async for reduce copy#1322Conversation
ChunkExt::write_chunk_in_async, `SealedEntryExt::wr…ChunkExt::write_chunk_in_async, SealedEntryExt::write_in_async for reduce copy
| fn into_chunks(self) -> Vec<RawChunk>; | ||
| fn write_in<W: Write>(&self, writer: &mut W) -> io::Result<usize>; | ||
| #[cfg(feature = "unstable-async")] | ||
| async fn write_in_async<W: futures_io::AsyncWrite + std::marker::Unpin>( |
Check warning
Code scanning / clippy
use of async fn in public traits is discouraged as auto trait bounds cannot be specified Warning
a69ab7b to
363eb11
Compare
54af7db to
1a97856
Compare
1a97856 to
68d001f
Compare
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…nc` for avoid copy
68d001f to
397b6e7
Compare
| fn into_chunks(self) -> Vec<RawChunk>; | ||
| fn write_in<W: Write>(&self, writer: &mut W) -> io::Result<usize>; | ||
| #[cfg(feature = "unstable-async")] | ||
| async fn write_in_async<W: futures_io::AsyncWrite + std::marker::Unpin>( |
Check warning
Code scanning / clippy
use of async fn in public traits is discouraged as auto trait bounds cannot be specified Warning
No description provided.