[−][src]Struct qt_core::q_lock_file::LockError
This enum describes the result of the last call to lock() or tryLock().
C++ enum: QLockFile::LockError
.
Methods
impl LockError
[src]
impl LockError
[src]
pub const NoError: LockError
[src]
The lock was acquired successfully. (C++ enum variant: NoError = 0
)
pub const LockFailedError: LockError
[src]
The lock could not be acquired because another process holds it. (C++ enum variant: LockFailedError = 1
)
pub const PermissionError: LockError
[src]
The lock file could not be created, for lack of permissions in the parent directory. (C++ enum variant: PermissionError = 2
)
pub const UnknownError: LockError
[src]
Another error happened, for instance a full partition prevented writing out the lock file. (C++ enum variant: UnknownError = 3
)
Trait Implementations
impl Clone for LockError
[src]
impl Copy for LockError
[src]
impl Debug for LockError
[src]
impl Eq for LockError
[src]
impl From<LockError> for c_int
[src]
impl From<i32> for LockError
[src]
impl PartialEq<LockError> for LockError
[src]
impl StructuralEq for LockError
[src]
impl StructuralPartialEq for LockError
[src]
Auto Trait Implementations
impl RefUnwindSafe for LockError
impl Send for LockError
impl Sync for LockError
impl Unpin for LockError
impl UnwindSafe for LockError
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>,