pub enum State {
Clean,
Modified,
Behind,
Missing,
Diverged,
Untracked,
Deleted,
DeletedModified,
Blocked,
Gone,
}Expand description
Where a document stands, here against the server.
Variants§
Clean
The same here and on the server.
Modified
Changed here since the last pull or push; nothing newer on the server.
Behind
Newer on the server; unchanged here.
Missing
On the server, not here.
Diverged
Changed here and on the server.
Untracked
Here and on the server and different, and this folder never pulled or pushed it.
Deleted
Deleted on the server; the copy here is unchanged.
DeletedModified
Deleted on the server, and changed here.
Blocked
It can’t be a file or folder here.
Gone
Deleted on the server and gone here: only the record is left.
Trait Implementations§
impl Copy for State
impl Eq for State
impl StructuralPartialEq for State
Auto Trait Implementations§
impl Forget for State
impl Freeze for State
impl Move for State
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnsafeUnpin for State
impl UnwindSafe for State
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