We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Write::flush
1 parent 353483c commit 4dfa785Copy full SHA for 4dfa785
embedded-io-async/src/lib.rs
@@ -127,9 +127,7 @@ pub trait Write: ErrorType {
127
async fn write(&mut self, buf: &[u8]) -> Result<usize, Self::Error>;
128
129
/// Flush this output stream, ensuring that all intermediately buffered contents reach their destination.
130
- async fn flush(&mut self) -> Result<(), Self::Error> {
131
- Ok(())
132
- }
+ async fn flush(&mut self) -> Result<(), Self::Error>;
133
134
/// Write an entire buffer into this writer.
135
///
0 commit comments