Enum itron_solid_fmp3::mutex::LockTimeoutError [−][src]
pub enum LockTimeoutError {
BadContext(MaybeKind),
NotSupported(MaybeKind),
BadId(MaybeKind),
AccessDenied(MaybeKind),
Timeout(MaybeKind),
Released(MaybeKind),
TerminateRequest(MaybeKind),
Deleted(MaybeKind),
BadParam(MaybeKind),
Deadlock(MaybeKind),
}
unstable
only.Expand description
Error type for MutexRef::lock_timeout
.
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())
Timeout(MaybeKind)
Tuple Fields
0: MaybeKind
Requires: cfg(not(feature = "none"))
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"))
Trait Implementations
Categorize the specified error code. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.