Repeat in std::io - Rust (original) (raw)
Struct Repeat
1.0.0 · Source
pub struct Repeat { /* private fields */ }
Expand description
A reader which yields one byte over and over and over and over and over and…
This struct is generally created by calling repeat(). Please see the documentation of repeat() for more details.
This function is not supported by io::Repeat
, because there’s no end of its data
This function is not supported by io::Repeat
, because there’s no end of its data
Pull some bytes from this source into the specified buffer, returning how many bytes were read. Read more
Reads the exact number of bytes required to fill buf
. Read more
🔬This is a nightly-only experimental API. (read_buf
#78485)
Pull some bytes from this source into the specified buffer. Read more
🔬This is a nightly-only experimental API. (read_buf
#78485)
Reads the exact number of bytes required to fill cursor
. Read more
Like read
, except that it reads into a slice of buffers. Read more
🔬This is a nightly-only experimental API. (can_vector
#69941)
Determines if this Read
er has an efficient read_vectored
implementation. Read more
Creates a “by reference” adaptor for this instance of Read
. Read more
Transforms this Read
instance to an Iterator over its bytes. Read more
Creates an adapter which will chain this stream with another. Read more
Creates an adapter which will read at most limit
bytes from it. Read more