pub struct AsyncPreparedIndexedMutation { /* private fields */ }Expand description
Immutable candidate for composing an indexed-map source/index transition into a larger strict root transaction.
All referenced nodes have already been published and verified. Visibility
changes only when the caller conditionally replaces expected_state_tree
with candidate_state_tree in the same transaction as its other roots.
Implementations§
Source§impl AsyncPreparedIndexedMutation
impl AsyncPreparedIndexedMutation
pub fn root_name(&self) -> &[u8] ⓘ
pub fn expected_state_tree(&self) -> Option<&Tree>
pub fn candidate_state_tree(&self) -> &Tree
pub fn previous_source_version(&self) -> Option<&MapVersionId>
pub fn current(&self) -> &IndexedVersion
Sourcepub fn manifest(&self) -> &IndexedSnapshotManifest
pub fn manifest(&self) -> &IndexedSnapshotManifest
Self-contained immutable manifest for the prepared head snapshot.
Trait Implementations§
Source§impl Clone for AsyncPreparedIndexedMutation
impl Clone for AsyncPreparedIndexedMutation
Source§fn clone(&self) -> AsyncPreparedIndexedMutation
fn clone(&self) -> AsyncPreparedIndexedMutation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AsyncPreparedIndexedMutation
impl RefUnwindSafe for AsyncPreparedIndexedMutation
impl Send for AsyncPreparedIndexedMutation
impl Sync for AsyncPreparedIndexedMutation
impl Unpin for AsyncPreparedIndexedMutation
impl UnsafeUnpin for AsyncPreparedIndexedMutation
impl UnwindSafe for AsyncPreparedIndexedMutation
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more