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.
BufRead
Read
1 parent 353483c commit 12e427fCopy full SHA for 12e427f
embedded-io/src/lib.rs
@@ -355,7 +355,7 @@ pub trait Read: ErrorType {
355
/// Blocking buffered reader.
356
///
357
/// This trait is the `embedded-io` equivalent of [`std::io::BufRead`].
358
-pub trait BufRead: ErrorType {
+pub trait BufRead: Read {
359
/// Return the contents of the internal buffer, filling it with more data from the inner reader if it is empty.
360
361
/// If no bytes are currently available to read, this function blocks until at least one byte is available.
0 commit comments