asonix/use-bytes-stream #52

Merged
asonix merged 12 commits from asonix/use-bytes-stream into main 2024-02-23 01:36:10 +00:00
Showing only changes of commit d73e683d48 - Show all commits

View file

@ -143,11 +143,3 @@ impl AsyncRead for BytesReader {
Poll::Ready(Ok(()))
}
}
impl From<Bytes> for BytesStream {
fn from(value: Bytes) -> Self {
let mut bs = BytesStream::new();
bs.add_bytes(value);
bs
}
}