Enum itron_asp3::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),
}
This is supported on crate feature unstable only.
Expand description

Error type for MutexRef::lock_timeout.

This type is an error kind type.

Variants

BadContext(MaybeKind)

Tuple Fields

Requires: cfg(not(feature = "none"))

NotSupported(MaybeKind)

Tuple Fields

The task is a restricted task.

Requires: cfg(all(not(feature = "none"), feature = "rstr_task"))

BadId(MaybeKind)

Tuple Fields

Requires: cfg(not(feature = "none"))

AccessDenied(MaybeKind)

Tuple Fields

Requires: cfg(any())

Timeout(MaybeKind)

Tuple Fields

Requires: cfg(not(feature = "none"))

Released(MaybeKind)

Tuple Fields

Requires: cfg(not(feature = "none"))

TerminateRequest(MaybeKind)

Tuple Fields

Requires: cfg(not(feature = "none"))

Deleted(MaybeKind)

Tuple Fields

Requires: cfg(all(not(feature = "none"), feature = "dcre"))

BadParam(MaybeKind)

Tuple Fields

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

The calling task already owns the mutex.

Requires: cfg(not(feature = "none"))

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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 !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.