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.

1.16.0 · Source§

1.0.0 · Source§

Source§

This function is not supported by io::Repeat, because there’s no end of its data

Source§

This function is not supported by io::Repeat, because there’s no end of its data

Source§

Pull some bytes from this source into the specified buffer, returning how many bytes were read. Read more

Source§

Reads the exact number of bytes required to fill buf. Read more

Source§

🔬This is a nightly-only experimental API. (read_buf #78485)

Pull some bytes from this source into the specified buffer. Read more

Source§

🔬This is a nightly-only experimental API. (read_buf #78485)

Reads the exact number of bytes required to fill cursor. Read more

Source§

Like read, except that it reads into a slice of buffers. Read more

Source§

🔬This is a nightly-only experimental API. (can_vector #69941)

Determines if this Reader has an efficient read_vectoredimplementation. Read more

1.0.0 · Source§

Creates a “by reference” adaptor for this instance of Read. Read more

1.0.0 · Source§

Transforms this Read instance to an Iterator over its bytes. Read more

1.0.0 · Source§

Creates an adapter which will chain this stream with another. Read more

1.0.0 · Source§

Creates an adapter which will read at most limit bytes from it. Read more

§

§

§

§

§

§