#[repr(u8)]pub enum CpuLevel {
Inactive = 0,
Active = 1,
UnknownOrdinal_(u8),
}Expand description
CPU power levels
Elements should take an assertive dependency on CpuLevel::ACTIVE
to ensure that the element will be suspended before the CPU suspends.
Variants§
Trait Implementations§
Source§impl<'a, ___E> Encode<CpuLevel, ___E> for &'a CpuLevelwhere
___E: ?Sized,
impl<'a, ___E> Encode<CpuLevel, ___E> for &'a CpuLevelwhere
___E: ?Sized,
Source§impl<___E> Encode<CpuLevel, ___E> for CpuLevelwhere
___E: ?Sized,
impl<___E> Encode<CpuLevel, ___E> for CpuLevelwhere
___E: ?Sized,
Source§impl FromWireRef<CpuLevel> for CpuLevel
impl FromWireRef<CpuLevel> for CpuLevel
Source§fn from_wire_ref(wire: &CpuLevel) -> Self
fn from_wire_ref(wire: &CpuLevel) -> Self
Converts the given reference to this type.
Source§impl Ord for CpuLevel
impl Ord for CpuLevel
Source§impl PartialOrd for CpuLevel
impl PartialOrd for CpuLevel
impl Copy for CpuLevel
impl Eq for CpuLevel
impl StructuralPartialEq for CpuLevel
Auto Trait Implementations§
impl Freeze for CpuLevel
impl RefUnwindSafe for CpuLevel
impl Send for CpuLevel
impl Sync for CpuLevel
impl Unpin for CpuLevel
impl UnsafeUnpin for CpuLevel
impl UnwindSafe for CpuLevel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
Converts the given reference to an option of this type.
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]