pub struct Written {
pub written: Vec<String>,
pub skipped: Vec<(String, String)>,
pub sealed: Vec<String>,
pub aside: Vec<(String, String)>,
}Expand description
What writing a tree, or part of one, wrote.
Fields§
§written: Vec<String>The paths written, in order.
skipped: Vec<(String, String)>The paths not written, with why: a name that this system cannot write, something in the way, or content that a purge took away.
sealed: Vec<String>The secret files not written, as this replica cannot read them: its secrets are locked, or not on this device (technical design: secrets in trees).
aside: Vec<(String, String)>The copies with edits not committed that a restore moved beside their paths before it
wrote there, each path with where its edits are now, as Mercurial’s revert keeps them:
NAME.orig, or the first free of NAME.orig-2 and on.
Trait Implementations§
impl Eq for Written
impl StructuralPartialEq for Written
Auto Trait Implementations§
impl Forget for Written
impl Freeze for Written
impl Move for Written
impl RefUnwindSafe for Written
impl Send for Written
impl Sync for Written
impl Unpin for Written
impl UnsafeUnpin for Written
impl UnwindSafe for Written
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.