1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-26 17:27:42 +02:00

add file reader example

This commit is contained in:
Rob Ede
2021-12-26 22:32:35 +00:00
parent 89a4c2ee27
commit 9935883905
10 changed files with 213 additions and 53 deletions

View File

@ -156,7 +156,7 @@ impl<T, U> Framed<T, U> {
}
impl<T, U> Framed<T, U> {
/// Serialize item and Write to the inner buffer
/// Serialize item and write to the inner buffer
pub fn write<I>(mut self: Pin<&mut Self>, item: I) -> Result<(), <U as Encoder<I>>::Error>
where
T: AsyncWrite,