enum PlatformErrorKind
source · line 6public enum PlatformErrorKind
A portable classification of operating-system failures, with native details retained separately.
variant WouldBlock
source · line 70WouldBlock
The operation cannot progress without waiting.
variant NotFound
source · line 10NotFound
The requested resource does not exist.
variant Interrupted
source · line 66Interrupted
A native wait was interrupted.
variant NoSpace
source · line 38NoSpace
The storage destination has insufficient space.
variant AddressInUse
source · line 54AddressInUse
The requested local address is already in use.
variant InvalidInput
source · line 30InvalidInput
The native operation rejected its arguments.
variant ConnectionReset
source · line 50ConnectionReset
The connection was reset.
variant BrokenPipe
source · line 42BrokenPipe
The output pipe has no reader.
variant ConnectionRefused
source · line 46ConnectionRefused
The remote endpoint refused the connection.
variant NoMemory
source · line 34NoMemory
The native operation could not allocate required memory.
variant IsDirectory
source · line 26IsDirectory
The selected entry is a directory where a file is required.
variant AddressUnavailable
source · line 58AddressUnavailable
The requested address is unavailable on this host.
variant AlreadyExists
source · line 14AlreadyExists
The operation requires an absent destination.
variant PermissionDenied
source · line 18PermissionDenied
Access was denied.
variant Unsupported
source · line 74Unsupported
The requested operation is unsupported.
variant Other
source · line 78Other
A native failure outside the portable categories.
variant TimedOut
source · line 62TimedOut
The native operation timed out.
variant NotDirectory
source · line 22NotDirectory
A required path component is not a directory.
function equals
source · line 6operator fun equals(other: PlatformErrorKind): Boolean
This derived operation is available when each field or payload type supports same-type equality.