pub enum ArtifactState {
Created,
Downloaded,
ChecksumVerified,
Durable,
}Expand description
ArtifactState
Variants§
Implementations§
Source§impl ArtifactState
impl ArtifactState
Sourcepub const fn can_advance_to(self, next: Self) -> bool
pub const fn can_advance_to(self, next: Self) -> bool
Return whether this state can advance monotonically to next.
Trait Implementations§
Source§impl Clone for ArtifactState
impl Clone for ArtifactState
Source§fn clone(&self) -> ArtifactState
fn clone(&self) -> ArtifactState
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 ArtifactState
impl Debug for ArtifactState
Source§impl<'de> Deserialize<'de> for ArtifactState
impl<'de> Deserialize<'de> for ArtifactState
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 Ord for ArtifactState
impl Ord for ArtifactState
Source§fn cmp(&self, other: &ArtifactState) -> Ordering
fn cmp(&self, other: &ArtifactState) -> 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 ArtifactState
impl PartialEq for ArtifactState
Source§impl PartialOrd for ArtifactState
impl PartialOrd for ArtifactState
Source§impl Serialize for ArtifactState
impl Serialize for ArtifactState
impl Copy for ArtifactState
impl Eq for ArtifactState
impl StructuralPartialEq for ArtifactState
Auto Trait Implementations§
impl Freeze for ArtifactState
impl RefUnwindSafe for ArtifactState
impl Send for ArtifactState
impl Sync for ArtifactState
impl Unpin for ArtifactState
impl UnsafeUnpin for ArtifactState
impl UnwindSafe for ArtifactState
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