Struct qt_core::q_system_semaphore::SystemSemaphoreError
source · pub struct SystemSemaphoreError(/* private fields */);
Expand description
C++ enum: QSystemSemaphore::SystemSemaphoreError
.
Implementations§
source§impl SystemSemaphoreError
impl SystemSemaphoreError
sourcepub const NoError: SystemSemaphoreError = _
pub const NoError: SystemSemaphoreError = _
No error occurred. (C++ enum variant: NoError = 0
)
sourcepub const PermissionDenied: SystemSemaphoreError = _
pub const PermissionDenied: SystemSemaphoreError = _
The operation failed because the caller didn’t have the required permissions. (C++ enum variant: PermissionDenied = 1
)
sourcepub const KeyError: SystemSemaphoreError = _
pub const KeyError: SystemSemaphoreError = _
The operation failed because of an invalid key. (C++ enum variant: KeyError = 2
)
sourcepub const AlreadyExists: SystemSemaphoreError = _
pub const AlreadyExists: SystemSemaphoreError = _
The operation failed because a system semaphore with the specified key already existed. (C++ enum variant: AlreadyExists = 3
)
sourcepub const NotFound: SystemSemaphoreError = _
pub const NotFound: SystemSemaphoreError = _
The operation failed because a system semaphore with the specified key could not be found. (C++ enum variant: NotFound = 4
)
sourcepub const OutOfResources: SystemSemaphoreError = _
pub const OutOfResources: SystemSemaphoreError = _
The operation failed because there was not enough memory available to fill the request. (C++ enum variant: OutOfResources = 5
)
sourcepub const UnknownError: SystemSemaphoreError = _
pub const UnknownError: SystemSemaphoreError = _
Something else happened and it was bad. (C++ enum variant: UnknownError = 6
)
Trait Implementations§
source§impl Clone for SystemSemaphoreError
impl Clone for SystemSemaphoreError
source§fn clone(&self) -> SystemSemaphoreError
fn clone(&self) -> SystemSemaphoreError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SystemSemaphoreError
impl Debug for SystemSemaphoreError
source§impl From<SystemSemaphoreError> for c_int
impl From<SystemSemaphoreError> for c_int
source§fn from(value: SystemSemaphoreError) -> Self
fn from(value: SystemSemaphoreError) -> Self
Converts to this type from the input type.
source§impl From<i32> for SystemSemaphoreError
impl From<i32> for SystemSemaphoreError
source§impl PartialEq for SystemSemaphoreError
impl PartialEq for SystemSemaphoreError
source§fn eq(&self, other: &SystemSemaphoreError) -> bool
fn eq(&self, other: &SystemSemaphoreError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SystemSemaphoreError
impl Eq for SystemSemaphoreError
impl StructuralEq for SystemSemaphoreError
impl StructuralPartialEq for SystemSemaphoreError
Auto Trait Implementations§
impl RefUnwindSafe for SystemSemaphoreError
impl Send for SystemSemaphoreError
impl Sync for SystemSemaphoreError
impl Unpin for SystemSemaphoreError
impl UnwindSafe for SystemSemaphoreError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more