Skip to content
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

🐎 Add ChunkExt::write_chunk_in_async, SealedEntryExt::write_in_async for reduce copy #1322

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ChanTsune
Copy link
Owner

@ChanTsune ChanTsune commented Dec 21, 2024

No description provided.

@github-actions github-actions bot added the lib This issue is about lib crate label Dec 21, 2024
@ChanTsune ChanTsune changed the title 🐎 Add ChunkExt::write_chunk_in_async, `SealedEntryExt::wr… 🐎 Add ChunkExt::write_chunk_in_async, SealedEntryExt::write_in_async for reduce copy Dec 21, 2024
@@ -28,6 +28,11 @@
pub trait SealedEntryExt {
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

use of async fn in public traits is discouraged as auto trait bounds cannot be specified
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lib This issue is about lib crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant