pub struct LegacyState {
pub path: Utf8PathBuf,
pub kind: &'static str,
pub active: bool,
}Expand description
One directory or file an older release kept, and what it held.
Fields§
§path: Utf8PathBufWhere it is.
kind: &'static strWhat it held, as one word.
active: boolWhether it still binds a run: a plan the older release has not finished, or a journal of a run it did not finish. Only that release can finish or abandon such a run.
Trait Implementations§
Source§impl Clone for LegacyState
impl Clone for LegacyState
Source§impl Debug for LegacyState
impl Debug for LegacyState
impl Eq for LegacyState
Source§impl PartialEq for LegacyState
impl PartialEq for LegacyState
Source§impl Serialize for LegacyState
impl Serialize for LegacyState
impl StructuralPartialEq for LegacyState
Auto Trait Implementations§
impl Freeze for LegacyState
impl RefUnwindSafe for LegacyState
impl Send for LegacyState
impl Sync for LegacyState
impl Unpin for LegacyState
impl UnsafeUnpin for LegacyState
impl UnwindSafe for LegacyState
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.