#[repr(i32)]pub enum PackageStateKind {
PreSkipped = 0,
PreFailed = 1,
Unresolved = 2,
IndirectPreSkipped = 3,
IndirectPreFailed = 4,
IndirectUnresolved = 5,
Pending = 6,
UpToDate = 7,
Success = 8,
Failed = 9,
IndirectFailed = 10,
}Expand description
Plain discriminant for PackageState, ordered by lifecycle phase.
Derives provide kebab-case status labels ([IntoStaticStr]/[EnumString]),
integer conversion ([FromRepr] with #[repr(i32)]), and iteration
([EnumIter]).
Variants§
PreSkipped = 0
PreFailed = 1
Unresolved = 2
IndirectPreSkipped = 3
IndirectPreFailed = 4
IndirectUnresolved = 5
Pending = 6
UpToDate = 7
Success = 8
Failed = 9
IndirectFailed = 10
Implementations§
Trait Implementations§
Source§impl AsRef<str> for PackageStateKind
impl AsRef<str> for PackageStateKind
Source§impl Clone for PackageStateKind
impl Clone for PackageStateKind
Source§fn clone(&self) -> PackageStateKind
fn clone(&self) -> PackageStateKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PackageStateKind
impl Debug for PackageStateKind
Source§impl EnumProperty for PackageStateKind
impl EnumProperty for PackageStateKind
Source§impl<'_derivative_strum> From<&'_derivative_strum PackageStateKind> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum PackageStateKind> for &'static str
Source§fn from(x: &'_derivative_strum PackageStateKind) -> &'static str
fn from(x: &'_derivative_strum PackageStateKind) -> &'static str
Converts to this type from the input type.
Source§impl From<PackageStateKind> for &'static str
impl From<PackageStateKind> for &'static str
Source§fn from(x: PackageStateKind) -> &'static str
fn from(x: PackageStateKind) -> &'static str
Converts to this type from the input type.
Source§impl FromStr for PackageStateKind
impl FromStr for PackageStateKind
Source§impl Hash for PackageStateKind
impl Hash for PackageStateKind
Source§impl Index<PackageStateKind> for PackageCounts
impl Index<PackageStateKind> for PackageCounts
Source§impl IntoEnumIterator for PackageStateKind
impl IntoEnumIterator for PackageStateKind
Source§impl PartialEq for PackageStateKind
impl PartialEq for PackageStateKind
Source§fn eq(&self, other: &PackageStateKind) -> bool
fn eq(&self, other: &PackageStateKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<&str> for PackageStateKind
impl TryFrom<&str> for PackageStateKind
impl Copy for PackageStateKind
impl Eq for PackageStateKind
impl StructuralPartialEq for PackageStateKind
Auto Trait Implementations§
impl Freeze for PackageStateKind
impl RefUnwindSafe for PackageStateKind
impl Send for PackageStateKind
impl Sync for PackageStateKind
impl Unpin for PackageStateKind
impl UnsafeUnpin for PackageStateKind
impl UnwindSafe for PackageStateKind
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more