1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
use serde::*;
#[derive(Clone, Copy, Debug, Eq, Hash, Ord, PartialEq, PartialOrd, Serialize, Deserialize)]
#[allow(deprecated)]
#[non_exhaustive]
#[serde(remote = "std::io::ErrorKind")]
pub enum SerdeIoErrorKindDef {
NotFound,
PermissionDenied,
ConnectionRefused,
ConnectionReset,
// #[cfg(feature = "io_error_more")]
// HostUnreachable,
// #[cfg(feature = "io_error_more")]
// NetworkUnreachable,
ConnectionAborted,
NotConnected,
AddrInUse,
AddrNotAvailable,
// #[cfg(feature = "io_error_more")]
// NetworkDown,
BrokenPipe,
AlreadyExists,
WouldBlock,
// #[cfg(feature = "io_error_more")]
// NotADirectory,
// #[cfg(feature = "io_error_more")]
// IsADirectory,
// #[cfg(feature = "io_error_more")]
// DirectoryNotEmpty,
// #[cfg(feature = "io_error_more")]
// ReadOnlyFilesystem,
// #[cfg(feature = "io_error_more")]
// FilesystemLoop,
// #[cfg(feature = "io_error_more")]
// StaleNetworkFileHandle,
InvalidInput,
InvalidData,
TimedOut,
WriteZero,
// #[cfg(feature = "io_error_more")]
// StorageFull,
// #[cfg(feature = "io_error_more")]
// NotSeekable,
// #[cfg(feature = "io_error_more")]
// FilesystemQuotaExceeded,
// #[cfg(feature = "io_error_more")]
// FileTooLarge,
// #[cfg(feature = "io_error_more")]
// ResourceBusy,
// #[cfg(feature = "io_error_more")]
// ExecutableFileBusy,
// #[cfg(feature = "io_error_more")]
// Deadlock,
// #[cfg(feature = "io_error_more")]
// CrossesDevices,
// #[cfg(feature = "io_error_more")]
// TooManyLinks,
// #[cfg(feature = "io_error_more")]
// InvalidFilename,
// #[cfg(feature = "io_error_more")]
// ArgumentListTooLong,
Interrupted,
Unsupported,
UnexpectedEof,
OutOfMemory,
Other,
// #[cfg(feature = "io_error_uncategorized")]
// Uncategorized,
}