pub struct SharedMemoryError(/* private fields */);
Expand description
C++ enum: QSharedMemory::SharedMemoryError
.
Implementations§
Sourcepub const NoError: SharedMemoryError
pub const NoError: SharedMemoryError
No error occurred. (C++ enum variant: NoError = 0
)
Sourcepub const PermissionDenied: SharedMemoryError
pub const PermissionDenied: SharedMemoryError
The operation failed because the caller didn’t have the required permissions. (C++ enum variant: PermissionDenied = 1
)
Sourcepub const InvalidSize: SharedMemoryError
pub const InvalidSize: SharedMemoryError
A create operation failed because the requested size was invalid. (C++ enum variant: InvalidSize = 2
)
Sourcepub const KeyError: SharedMemoryError
pub const KeyError: SharedMemoryError
The operation failed because of an invalid key. (C++ enum variant: KeyError = 3
)
Sourcepub const AlreadyExists: SharedMemoryError
pub const AlreadyExists: SharedMemoryError
A create() operation failed because a shared memory segment with the specified key already existed. (C++ enum variant: AlreadyExists = 4
)
Sourcepub const NotFound: SharedMemoryError
pub const NotFound: SharedMemoryError
An attach() failed because a shared memory segment with the specified key could not be found. (C++ enum variant: NotFound = 5
)
Sourcepub const LockError: SharedMemoryError
pub const LockError: SharedMemoryError
The attempt to lock() the shared memory segment failed because create() or attach() failed and returned false, or because a system error occurred in QSystemSemaphore::acquire(). (C++ enum variant: LockError = 6
)
Sourcepub const OutOfResources: SharedMemoryError
pub const OutOfResources: SharedMemoryError
A create() operation failed because there was not enough memory available to fill the request. (C++ enum variant: OutOfResources = 7
)
Sourcepub const UnknownError: SharedMemoryError
pub const UnknownError: SharedMemoryError
Something else happened and it was bad. (C++ enum variant: UnknownError = 8
)
Trait Implementations§
Source§fn clone(&self) -> SharedMemoryError
fn clone(&self) -> SharedMemoryError
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more