#[repr(C)]pub enum AppStatusType {
RUNNING = 0,
STOPPED = 1,
UNKNOWN = 2,
}
Expand description
Status string for the app on a compute node.
Enumeration of values.
Since this enum’s variants do not hold data, we can easily define them them as #[repr(C)]
which helps with FFI.
Variants§
Trait Implementations§
Source§impl Clone for AppStatusType
impl Clone for AppStatusType
Source§fn clone(&self) -> AppStatusType
fn clone(&self) -> AppStatusType
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 AppStatusType
impl Debug for AppStatusType
Source§impl<'de> Deserialize<'de> for AppStatusType
impl<'de> Deserialize<'de> for AppStatusType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for AppStatusType
impl Display for AppStatusType
Source§impl FromStr for AppStatusType
impl FromStr for AppStatusType
Source§impl Ord for AppStatusType
impl Ord for AppStatusType
Source§fn cmp(&self, other: &AppStatusType) -> Ordering
fn cmp(&self, other: &AppStatusType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AppStatusType
impl PartialEq for AppStatusType
Source§impl PartialOrd for AppStatusType
impl PartialOrd for AppStatusType
Source§impl Serialize for AppStatusType
impl Serialize for AppStatusType
impl Copy for AppStatusType
impl Eq for AppStatusType
impl StructuralPartialEq for AppStatusType
Auto Trait Implementations§
impl Freeze for AppStatusType
impl RefUnwindSafe for AppStatusType
impl Send for AppStatusType
impl Sync for AppStatusType
impl Unpin for AppStatusType
impl UnwindSafe for AppStatusType
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