Module axstd::io

source ·
Expand description

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

Modules

Structs

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

Enums

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

Traits

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

Functions

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

Type Aliases