diff --git a/ntex-io/src/seal.rs b/ntex-io/src/seal.rs index 32617105..05f6e395 100644 --- a/ntex-io/src/seal.rs +++ b/ntex-io/src/seal.rs @@ -26,19 +26,35 @@ impl Filter for Sealed { self.0.process_read_buf(io, stack, idx, nbytes) } - fn process_write_buf(&self, io: &crate::IoRef, stack: &crate::buf::Stack, idx: usize) -> std::io::Result<()> { + fn process_write_buf( + &self, + io: &crate::IoRef, + stack: &crate::buf::Stack, + idx: usize, + ) -> std::io::Result<()> { self.0.process_write_buf(io, stack, idx) } - fn shutdown(&self, io: &crate::IoRef, stack: &crate::buf::Stack, idx: usize) -> std::io::Result> { + fn shutdown( + &self, + io: &crate::IoRef, + stack: &crate::buf::Stack, + idx: usize, + ) -> std::io::Result> { self.0.shutdown(io, stack, idx) } - fn poll_read_ready(&self, cx: &mut std::task::Context<'_>) -> std::task::Poll { + fn poll_read_ready( + &self, + cx: &mut std::task::Context<'_>, + ) -> std::task::Poll { self.0.poll_read_ready(cx) } - fn poll_write_ready(&self, cx: &mut std::task::Context<'_>) -> std::task::Poll { + fn poll_write_ready( + &self, + cx: &mut std::task::Context<'_>, + ) -> std::task::Poll { self.0.poll_write_ready(cx) } } @@ -76,4 +92,4 @@ impl From for Io { fn from(value: IoBoxed) -> Self { value.0 } -} \ No newline at end of file +}