logos.std.io.read
Module std · package logos-std
Traits
traitRead
trait Read
Abstraction for byte-oriented input sources.
Implemented by: FdReader BufReader TcpStream AsyncTcpStream ChunkedReader ContentLengthReader Pipe
Functions
fnread_exact
fn read_exact(r: &mut R, buf: *mut u8, len: i64) -> i64
Reads exactly len bytes into buf, looping over partial reads.
Returns 0 on success, -1 on early EOF, negative errno on error.