pub enum CopyState {
Unchanged,
Edited,
Gone,
}Expand description
Whether a checkout’s copy is as it was written, or as its edits were recorded.
Variants§
Unchanged
It has the content its checkout records.
Edited
It was edited since, and its edits are not recorded.
Gone
No file is where it was written.
Implementations§
Trait Implementations§
impl Copy for CopyState
impl Eq for CopyState
impl StructuralPartialEq for CopyState
Auto Trait Implementations§
impl Forget for CopyState
impl Freeze for CopyState
impl Move for CopyState
impl RefUnwindSafe for CopyState
impl Send for CopyState
impl Sync for CopyState
impl Unpin for CopyState
impl UnsafeUnpin for CopyState
impl UnwindSafe for CopyState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.