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
impl Copy for SystemSemaphoreError
impl Eq for SystemSemaphoreError
impl StructuralPartialEq for SystemSemaphoreError
Auto Trait Implementations§
impl Freeze for SystemSemaphoreError
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