Enum furiosa_device::CoreStatus
source · pub enum CoreStatus {
Available,
Occupied(String),
Unavailable,
}
Expand description
Enum for NPU core status.
Variants§
Trait Implementations§
source§impl Clone for CoreStatus
impl Clone for CoreStatus
source§fn clone(&self) -> CoreStatus
fn clone(&self) -> CoreStatus
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 CoreStatus
impl Debug for CoreStatus
source§impl Display for CoreStatus
impl Display for CoreStatus
source§impl PartialEq<CoreStatus> for CoreStatus
impl PartialEq<CoreStatus> for CoreStatus
source§fn eq(&self, other: &CoreStatus) -> bool
fn eq(&self, other: &CoreStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CoreStatus
impl StructuralEq for CoreStatus
impl StructuralPartialEq for CoreStatus
Auto Trait Implementations§
impl RefUnwindSafe for CoreStatus
impl Send for CoreStatus
impl Sync for CoreStatus
impl Unpin for CoreStatus
impl UnwindSafe for CoreStatus
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