Module io

Source
Expand description

Traits, helpers, and type definitions for core I/O functionality.

Modules§

prelude
The I/O Prelude.

Structs§

BufReader
The BufReader<R> struct adds buffering to any reader.
Stdin
A handle to the standard input stream of a process.
StdinLock
A locked reference to the Stdin handle.
Stdout
A handle to the global standard output stream of the current process.
StdoutLock
A locked reference to the Stdout handle.

Enums§

Error
The error type used by ArceOS.
SeekFrom
Enumeration of possible methods to seek within an I/O object.

Traits§

BufRead
A BufRead is a type of Reader which has an internal buffer, allowing it to perform extra ways of reading.
Read
The Read trait allows for reading bytes from a source.
Seek
The Seek trait provides a cursor which can be moved within a stream of bytes.
Write
A trait for objects which are byte-oriented sinks.

Functions§

stdin
Constructs a new handle to the standard input of the current process.
stdout
Constructs a new handle to the standard output of the current process.

Type Aliases§

Result
A specialized Result type for I/O operations.