Expand description
Error handling and error types
Most of the interfaces return a std::io::Error
.
Usually an error means that the underlying get*_r
call failed.
But, there are some other obscure error cases.
In those situations, an io::Error
will be returned
which has one of the errors in this module
as its source
.
Structs
- Error that occurs if non-UTF-8 data is found
- Error that occurs if an entry is unreasonably large
- Error that occurs if
getpw*_r
orgetgr*_r
return unexpectedNULL
s
Type Definitions
- Error that occurs if a nul byte was passed to
get*_nam