[−][src]Struct qt_core::q_file_device::FileError
This enum describes the errors that may be returned by the error() function.
C++ enum: QFileDevice::FileError
.
This enum describes the errors that may be returned by the error() function.
Methods
impl FileError
[src]
impl FileError
[src]
pub const NoError: FileError
[src]
No error occurred. (C++ enum variant: NoError = 0
)
pub const ReadError: FileError
[src]
An error occurred when reading from the file. (C++ enum variant: ReadError = 1
)
pub const WriteError: FileError
[src]
An error occurred when writing to the file. (C++ enum variant: WriteError = 2
)
pub const FatalError: FileError
[src]
A fatal error occurred. (C++ enum variant: FatalError = 3
)
pub const ResourceError: FileError
[src]
Out of resources (e.g., too many open files, out of memory, etc.) (C++ enum variant: ResourceError = 4
)
pub const OpenError: FileError
[src]
The file could not be opened. (C++ enum variant: OpenError = 5
)
pub const AbortError: FileError
[src]
The operation was aborted. (C++ enum variant: AbortError = 6
)
pub const TimeOutError: FileError
[src]
A timeout occurred. (C++ enum variant: TimeOutError = 7
)
pub const UnspecifiedError: FileError
[src]
An unspecified error occurred. (C++ enum variant: UnspecifiedError = 8
)
pub const RemoveError: FileError
[src]
The file could not be removed. (C++ enum variant: RemoveError = 9
)
pub const RenameError: FileError
[src]
The file could not be renamed. (C++ enum variant: RenameError = 10
)
pub const PositionError: FileError
[src]
The position in the file could not be changed. (C++ enum variant: PositionError = 11
)
pub const ResizeError: FileError
[src]
The file could not be resized. (C++ enum variant: ResizeError = 12
)
pub const PermissionsError: FileError
[src]
The file could not be accessed. (C++ enum variant: PermissionsError = 13
)
pub const CopyError: FileError
[src]
The file could not be copied. (C++ enum variant: CopyError = 14
)
Trait Implementations
impl Clone for FileError
[src]
impl Copy for FileError
[src]
impl Debug for FileError
[src]
impl Eq for FileError
[src]
impl From<FileError> for c_int
[src]
impl From<i32> for FileError
[src]
impl PartialEq<FileError> for FileError
[src]
impl StructuralEq for FileError
[src]
impl StructuralPartialEq for FileError
[src]
Auto Trait Implementations
impl RefUnwindSafe for FileError
impl Send for FileError
impl Sync for FileError
impl Unpin for FileError
impl UnwindSafe for FileError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,