Enum r3_core::kernel::raw::MutexProtocolKind
source · #[non_exhaustive]
pub enum MutexProtocolKind {
None,
Ceiling,
}
Expand description
Indicates a variant of MutexProtocol
supported by a kernel.
This type is used as the element type of
KernelBase::RAW_SUPPORTED_QUEUE_ORDERS
.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for MutexProtocolKind
impl Clone for MutexProtocolKind
source§fn clone(&self) -> MutexProtocolKind
fn clone(&self) -> MutexProtocolKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MutexProtocolKind
impl Debug for MutexProtocolKind
source§impl PartialEq<MutexProtocolKind> for MutexProtocolKind
impl PartialEq<MutexProtocolKind> for MutexProtocolKind
source§fn eq(&self, other: &MutexProtocolKind) -> bool
fn eq(&self, other: &MutexProtocolKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.