Enum r3::kernel::ResultCode [−][src]
#[repr(i8)]
pub enum ResultCode {
Success,
NotSupported,
BadParam,
BadId,
BadContext,
NotOwner,
WouldDeadlock,
BadObjectState,
QueueOverflow,
Abandoned,
Interrupted,
Timeout,
}
Expand description
All result codes (including success) that the C API can return.
Relation to Other Specifications: All error codes are intentionally matched to their equivalents in μITRON4.0 for no particular reasons.
Rationale: Using the C API result codes internally reduces the interop overhead at an API surface.
Variants
The operation was successful. No additional information is available.
The operation is not supported.
A parameter is invalid in a way that is no covered by any other error codes.
A specified object identifier (Id
) is invalid.
The current context disallows the operation.
The caller does not own the resource.
Resource deadlock would occur.
A target object is in a state that disallows the operation.
An operation or an object couldn’t be enqueued because there are too many of such things that already have been enqueued.
The owner of a mutex exited while holding the mutex lock.
The wait operation was interrupted by Task::interrupt
.
The operation timed out.
Implementations
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more