Enum r3::kernel::WaitSemaphoreError [−][src]
#[repr(i8)]
pub enum WaitSemaphoreError {
BadId,
BadContext,
Interrupted,
}
Expand description
Error type for Semaphore::wait_one
.
See ResultCode
for all result codes and generic descriptions.
Variants
The semaphore ID is out of range.
CPU Lock is active, or the current context is not waitable.
Trait Implementations
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