rstd 0.1.0
Loading...
Searching...
No Matches
rstd::io::Read Struct Referenceexport
module rstd

Trait for objects that can be read from. More...

Detailed Description

Trait for objects that can be read from.

Required method: read(u8* buf, usize len) -> Result<usize>

  • Returns Ok(0) at EOF or on an empty buffer.
  • May return Ok(n) where n < len without being at EOF.
  • EINTR is the caller's responsibility to retry.

The documentation for this struct was generated from the following file: