pub enum AssetStatus {
Present,
Missing,
Drifted,
InvalidMode,
NotApplicable,
}Expand description
Status of an installed asset relative to the rendered template.
Variants§
Present
The on-disk asset matches the rendered shape.
Missing
The asset path does not exist.
Drifted
The asset exists but its content (or permission mode) differs from what Lifeloop would render. For merge-aware assets this means the merge result no longer matches the file.
InvalidMode
The (host, mode) pair is not a supported install combination.
NotApplicable
No asset is expected for this (host, mode) pair.
Trait Implementations§
Source§impl Clone for AssetStatus
impl Clone for AssetStatus
Source§fn clone(&self) -> AssetStatus
fn clone(&self) -> AssetStatus
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 moreimpl Copy for AssetStatus
Source§impl Debug for AssetStatus
impl Debug for AssetStatus
impl Eq for AssetStatus
Source§impl PartialEq for AssetStatus
impl PartialEq for AssetStatus
impl StructuralPartialEq for AssetStatus
Auto Trait Implementations§
impl Freeze for AssetStatus
impl RefUnwindSafe for AssetStatus
impl Send for AssetStatus
impl Sync for AssetStatus
impl Unpin for AssetStatus
impl UnsafeUnpin for AssetStatus
impl UnwindSafe for AssetStatus
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§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.