pub enum FsError {
Show 19 variants
Ok,
PermissionDenied,
NotFound,
Io,
AccessDenied,
AlreadyExists,
CrossDevice,
NotDirectory,
IsDirectory,
InvalidInput,
FileTooLarge,
NoSpace,
ReadOnly,
NameTooLong,
NotEmpty,
Stale,
Unsupported,
BadHandle,
ServerFault,
}Expand description
Backend error values surfaced through the NFS server.
Variants§
Ok
Operation completed successfully.
PermissionDenied
Caller lacks permission for the operation.
NotFound
Object does not exist.
Io
A lower-level I/O failure occurred.
AccessDenied
Access was denied for the requested principal or mode bits.
AlreadyExists
An entry with the requested name already exists.
CrossDevice
Cross-filesystem rename/link is not supported.
NotDirectory
A directory was required but another object type was supplied.
IsDirectory
A non-directory was required but a directory was supplied.
InvalidInput
The input was invalid for the target backend.
FileTooLarge
The resulting file would be too large.
NoSpace
The backend ran out of space.
ReadOnly
The backend is read-only.
NameTooLong
The provided name is too long.
NotEmpty
The target directory is not empty.
Stale
The handle or object is stale.
Unsupported
The backend does not support the requested operation.
BadHandle
The file handle was malformed or invalid.
ServerFault
The backend encountered an unrecoverable server-side fault.