Enum itron_solid_fmp3::mutex::LockError [−][src]
pub enum LockError {
BadContext(MaybeKind),
NotSupported(MaybeKind),
BadId(MaybeKind),
AccessDenied(MaybeKind),
Released(MaybeKind),
TerminateRequest(MaybeKind),
Deleted(MaybeKind),
BadParam(MaybeKind),
Deadlock(MaybeKind),
}
This is supported on crate feature
unstable
only.Expand description
Error type for MutexRef::lock
.
This type is an error kind type.
Variants
BadContext(MaybeKind)
Tuple Fields
0: MaybeKind
Requires: cfg(not(feature = "none"))
NotSupported(MaybeKind)
Tuple Fields
0: MaybeKind
The task is a restricted task.
Requires: cfg(all(not(feature = "none"), feature = "rstr_task"))
BadId(MaybeKind)
Tuple Fields
0: MaybeKind
Requires: cfg(not(feature = "none"))
AccessDenied(MaybeKind)
Tuple Fields
0: MaybeKind
Requires: cfg(any())
Released(MaybeKind)
Tuple Fields
0: MaybeKind
Requires: cfg(not(feature = "none"))
TerminateRequest(MaybeKind)
Tuple Fields
0: MaybeKind
Requires: cfg(not(feature = "none"))
Deleted(MaybeKind)
Tuple Fields
0: MaybeKind
Requires: cfg(all(not(feature = "none"), feature = "dcre"))
BadParam(MaybeKind)
Tuple Fields
0: MaybeKind
The calling task’s priority is higher than the mutex’s priority ceiling.
Rationale
The EINVAL
error of pthread_mutex_lock
. This error kind is
designed to accomodate any precondition violations that may occur
in yet-to-be-seen kernels to be supported.
Requires: cfg(not(feature = "none"))
Deadlock(MaybeKind)
Tuple Fields
0: MaybeKind
The calling task already owns the mutex.
Requires: cfg(not(feature = "none"))