π¬This is a nightly-only experimental API. (
core_io #154046)Re-exportsΒ§
use crate::io;πExperimental use crate::io::ErrorKind;πuse crate::io::IoSlice;πuse crate::io::Result;πuse crate::io::Seek;πuse crate::io::SeekFrom;πuse crate::io::SizeHint;πExperimental use crate::io::Write;πuse crate::cmp;πuse crate::fmt;π
StructsΒ§
- Chain
Experimental - Adapter to chain together two readers.
- Empty
Experimental Emptyignores any data written viaWrite, and will always be empty (returning zero bytes) when read viaRead.- Repeat
Experimental - A reader which yields one byte over and over and over and over and over andβ¦
- Sink
Experimental - A writer which will move data into the void.
- Take
Experimental - Reader adapter which limits the bytes read from an underlying reader.
FunctionsΒ§
- chain π»
Experimental - empty
Experimental - Creates a value that is always at EOF for reads, and ignores all data written.
- repeat
Experimental - Creates an instance of a reader that infinitely repeats one byte.
- sink
Experimental - Creates an instance of a writer which will successfully consume all data.
- take π»
Experimental