pub type ErrorKind = BitsErrorKind;
Expand description
Type alias to BitsErrorKind
Originally would map to std::io::ErrorKind
when the std
feature was enabled, but that proved
less ergonomic than just a internal error struct.
Aliased Type§
pub enum ErrorKind {
Show 21 variants
InvalidData,
UnexpectedEof,
FormatError,
OutOfMemory,
NotFound,
PermissionDenied,
ConnectionRefused,
ConnectionReset,
ConnectionAborted,
AddrInUse,
AddrNotAvailable,
BrokenPipe,
AlreadyExists,
WouldBlock,
InvalidInput,
TimedOut,
WriteZero,
Interrupted,
NotConnected,
Unsupported,
Other,
}