Struct qt_core::q_file_device::FileError
source · pub struct FileError(/* private fields */);
Expand description
Implementations§
source§impl FileError
impl FileError
sourcepub const ReadError: FileError = _
pub const ReadError: FileError = _
An error occurred when reading from the file. (C++ enum variant: ReadError = 1
)
sourcepub const WriteError: FileError = _
pub const WriteError: FileError = _
An error occurred when writing to the file. (C++ enum variant: WriteError = 2
)
sourcepub const FatalError: FileError = _
pub const FatalError: FileError = _
A fatal error occurred. (C++ enum variant: FatalError = 3
)
sourcepub const ResourceError: FileError = _
pub const ResourceError: FileError = _
Out of resources (e.g., too many open files, out of memory, etc.) (C++ enum variant: ResourceError = 4
)
sourcepub const OpenError: FileError = _
pub const OpenError: FileError = _
The file could not be opened. (C++ enum variant: OpenError = 5
)
sourcepub const AbortError: FileError = _
pub const AbortError: FileError = _
The operation was aborted. (C++ enum variant: AbortError = 6
)
sourcepub const TimeOutError: FileError = _
pub const TimeOutError: FileError = _
A timeout occurred. (C++ enum variant: TimeOutError = 7
)
sourcepub const UnspecifiedError: FileError = _
pub const UnspecifiedError: FileError = _
An unspecified error occurred. (C++ enum variant: UnspecifiedError = 8
)
sourcepub const RemoveError: FileError = _
pub const RemoveError: FileError = _
The file could not be removed. (C++ enum variant: RemoveError = 9
)
sourcepub const RenameError: FileError = _
pub const RenameError: FileError = _
The file could not be renamed. (C++ enum variant: RenameError = 10
)
sourcepub const PositionError: FileError = _
pub const PositionError: FileError = _
The position in the file could not be changed. (C++ enum variant: PositionError = 11
)
sourcepub const ResizeError: FileError = _
pub const ResizeError: FileError = _
The file could not be resized. (C++ enum variant: ResizeError = 12
)
sourcepub const PermissionsError: FileError = _
pub const PermissionsError: FileError = _
The file could not be accessed. (C++ enum variant: PermissionsError = 13
)