pub enum CurrentUsage {
Other,
Unknown,
Available,
InUse,
Unavailable,
Undefined(u8),
}Variants§
Other
Unknown
Available
InUse
In use
Unavailable (e.g., connected to a processor that is not installed)
Undefined(u8)
Trait Implementations§
Source§impl Clone for CurrentUsage
impl Clone for CurrentUsage
Source§fn clone(&self) -> CurrentUsage
fn clone(&self) -> CurrentUsage
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 CurrentUsage
impl Debug for CurrentUsage
Source§impl Display for CurrentUsage
impl Display for CurrentUsage
Source§impl From<u8> for CurrentUsage
impl From<u8> for CurrentUsage
Source§fn from(byte: u8) -> CurrentUsage
fn from(byte: u8) -> CurrentUsage
Converts to this type from the input type.
Source§impl Hash for CurrentUsage
impl Hash for CurrentUsage
Source§impl PartialEq for CurrentUsage
impl PartialEq for CurrentUsage
impl Copy for CurrentUsage
impl Eq for CurrentUsage
impl StructuralPartialEq for CurrentUsage
Auto Trait Implementations§
impl Freeze for CurrentUsage
impl RefUnwindSafe for CurrentUsage
impl Send for CurrentUsage
impl Sync for CurrentUsage
impl Unpin for CurrentUsage
impl UnwindSafe for CurrentUsage
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