#[repr(usize)]pub enum CpuOnStatus {
Ok = 0,
NotSupported = 1,
AlreadyOn = 2,
InvalidParameters = 3,
Other = 4,
}Variants§
Implementations§
Source§impl CpuOnStatus
impl CpuOnStatus
pub fn is_started(self) -> bool
Trait Implementations§
Source§impl Clone for CpuOnStatus
impl Clone for CpuOnStatus
Source§fn clone(&self) -> CpuOnStatus
fn clone(&self) -> CpuOnStatus
Returns a duplicate 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 CpuOnStatus
impl Debug for CpuOnStatus
Source§impl From<usize> for CpuOnStatus
impl From<usize> for CpuOnStatus
Source§impl PartialEq for CpuOnStatus
impl PartialEq for CpuOnStatus
impl Copy for CpuOnStatus
impl Eq for CpuOnStatus
impl StructuralPartialEq for CpuOnStatus
Auto Trait Implementations§
impl Freeze for CpuOnStatus
impl RefUnwindSafe for CpuOnStatus
impl Send for CpuOnStatus
impl Sync for CpuOnStatus
impl Unpin for CpuOnStatus
impl UnsafeUnpin for CpuOnStatus
impl UnwindSafe for CpuOnStatus
Blanket Implementations§
Source§impl<T> Background for T
impl<T> Background for T
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