Available on crate feature
io only.Expand description
A handle to the standard input stream.
Structs§
- NSTD
Stdin - A handle to the standard input stream.
- NSTD
Stdin Lock - A locked handle to the standard input stream.
Functions§
- nstd_
io_ stdin - Constructs a new handle to the standard input stream.
- nstd_
io_ stdin_ free - Frees an instance of
NSTDStdin. - nstd_
io_ stdin_ lock - Constructs a new locked handle to the standard input stream.
- nstd_
io_ ⚠stdin_ lock_ read - Reads some data from stdin into a byte slice buffer.
- nstd_
io_ stdin_ lock_ read_ all - Continuously reads data from stdin into a buffer until EOF is reached.
- nstd_
io_ ⚠stdin_ lock_ read_ exact - Reads enough data from stdin to fill the entirety of
buffer. - nstd_
io_ stdin_ lock_ read_ to_ string - Continuously reads UTF-8 data from stdin into a string buffer until EOF is reached.
- nstd_
io_ ⚠stdin_ read - Reads some data from stdin into a byte slice buffer.
- nstd_
io_ stdin_ read_ all - Continuously reads data from stdin into a buffer until EOF is reached.
- nstd_
io_ ⚠stdin_ read_ exact - Reads enough data from stdin to fill the entirety of
buffer. - nstd_
io_ stdin_ read_ line - Reads a line from stdin and appends it to
buffer. - nstd_
io_ stdin_ read_ to_ string - Continuously reads UTF-8 data from stdin into a string buffer until EOF is reached.
- nstd_
io_ stdin_ unlock - Frees and unlocks an instance of
NSTDStdinLock.
Type Aliases§
- NSTD
Optional Stdin - Represents an optional value of type
NSTDStdin. - NSTD
Optional Stdin Lock - Represents an optional value of type
NSTDStdinLock.