pub enum CommitDocs {
Full {
theirs: LeanManifest,
installed: LeanManifest,
},
View {
theirs: DocView,
overlay: BTreeMap<String, Option<LeanEntry>>,
retired: Vec<String>,
seq: u64,
tombstones: BTreeMap<String, Tombstone>,
sole_writer: bool,
boundary_source: Option<String>,
},
}Expand description
What a commit installed, for the steps after its CAS: the whole documents on the full path, a view and the overlay on lever G’s.
Variants§
Implementations§
Source§impl CommitDocs
impl CommitDocs
pub fn installed_seq(&self) -> u64
Sourcepub fn retired(&self) -> Vec<String>
pub fn retired(&self) -> Vec<String>
The handles the installed document no longer cites anywhere, of those theirs cited at a path the install changed.
pub async fn installed_get(&mut self, p: &str) -> LeanResult<Option<LeanEntry>>
pub async fn theirs_get(&mut self, p: &str) -> LeanResult<Option<LeanEntry>>
Sourcepub async fn installed_at(
&mut self,
paths: &[String],
) -> LeanResult<LeanManifest>
pub async fn installed_at( &mut self, paths: &[String], ) -> LeanResult<LeanManifest>
The installed document’s entries at paths alone, for a caller that
reads only those (note_carrier_uncited).
Sourcepub async fn installed_full(&mut self) -> LeanResult<Cow<'_, LeanManifest>>
pub async fn installed_full(&mut self) -> LeanResult<Cow<'_, LeanManifest>>
The whole installed document: the collection pass’s.
Auto Trait Implementations§
impl !RefUnwindSafe for CommitDocs
impl !UnwindSafe for CommitDocs
impl Freeze for CommitDocs
impl Send for CommitDocs
impl Sync for CommitDocs
impl Unpin for CommitDocs
impl UnsafeUnpin for CommitDocs
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