pub enum EntryState {
Synced,
PendingCreate,
PendingUpdate,
PendingRemove,
Drifted,
Missing,
Conflict,
Foreign,
Collision,
Blocked,
}Expand description
What an entry is, compared with what is desired and what was written (SPEC 8.2).
Variants§
Synced
Native equals desired and equals what was written.
PendingCreate
PendingUpdate
PendingRemove
Drifted
Owned, changed since it was written, desired unchanged.
Missing
Owned and desired, but someone deleted it.
Conflict
Changed since it was written, and desired changed too.
Foreign
Not owned; never touched.
Collision
A foreign entry where a desired entry should go.
Blocked
Cannot be planned; see EntryPlan::problem.
Implementations§
Source§impl EntryState
impl EntryState
Trait Implementations§
Source§impl Clone for EntryState
impl Clone for EntryState
impl Copy for EntryState
Source§impl Debug for EntryState
impl Debug for EntryState
impl Eq for EntryState
Source§impl Hash for EntryState
impl Hash for EntryState
Source§impl PartialEq for EntryState
impl PartialEq for EntryState
impl StructuralPartialEq for EntryState
Auto Trait Implementations§
impl Forget for EntryState
impl Freeze for EntryState
impl Move for EntryState
impl RefUnwindSafe for EntryState
impl Send for EntryState
impl Sync for EntryState
impl Unpin for EntryState
impl UnsafeUnpin for EntryState
impl UnwindSafe for EntryState
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.