pub struct MapxVs<K, V> { /* private fields */ }
Expand description

Documents => MapxRawVs

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Create a new version on the default branch.

Create a new version on a specified branch, NOTE: the branch must has been created.

Check if a verison exists on default branch.

Check if a version exists on a specified branch(include its parents).

Remove the newest version on the default branch.

‘Write’-like operations on branches and versions are different from operations on data.

‘Write’-like operations on data require recursive tracing of all parent nodes, while operations on branches and versions are limited to their own perspective, and should not do any tracing.

Remove the newest version on a specified branch.

‘Write’-like operations on branches and versions are different from operations on data.

‘Write’-like operations on data require recursive tracing of all parent nodes, while operations on branches and versions are limited to their own perspective, and should not do any tracing.

Merge all changes made by new versions after the base version into the base version.

Safety

It’s the caller’s duty to ensure that the base_version was created directly by the branch_id, or the data records of other branches may be corrupted.

Merge all changes made by new versions after the base version into the base version.

Safety

It’s the caller’s duty to ensure that the base_version was created directly by the branch_id, or the data records of other branches may be corrupted.

Create a new branch based on the head of the default branch.

Create a new branch based on the head of a specified branch.

Create a new branch based on a specified version of a specified branch.

Safety

You should create a new version manually before writing to the new branch, or the data records referenced by other branches may be corrupted.

Safety

You should create a new version manually before writing to the new branch, or the data records referenced by other branches may be corrupted.

Safety

You should create a new version manually before writing to the new branch, or the data records referenced by other branches may be corrupted.

Check if a branch exists or not.

Check if a branch exists and has versions on it.

Remove a branch, remove all changes directly made by this branch.

‘Write’-like operations on branches and versions are different from operations on data.

‘Write’-like operations on data require recursive tracing of all parent nodes, while operations on branches and versions are limited to their own perspective, and should not do any tracing.

Remove all changes directly made by versions(bigger than last_version_id) of this branch.

‘Write’-like operations on branches and versions are different from operations on data.

‘Write’-like operations on data require recursive tracing of all parent nodes, while operations on branches and versions are limited to their own perspective, and should not do any tracing.

Remove all changes directly made by versions(bigger than last_version_id) of this branch.

‘Write’-like operations on branches and versions are different from operations on data.

‘Write’-like operations on data require recursive tracing of all parent nodes, while operations on branches and versions are limited to their own perspective, and should not do any tracing.

Remove the newest version on a specified branch.

‘Write’-like operations on branches and versions are different from operations on data.

‘Write’-like operations on data require recursive tracing of all parent nodes, while operations on branches and versions are limited to their own perspective, and should not do any tracing.

Merge a branch into another

Merge a branch into another, even if new different versions have been created on the target branch.

Safety

If new different versions have been created on the target branch, the data records referenced by other branches may be corrupted.

Make a branch to be default, all default operations will be applied to it.

Clean outdated versions out of the default reserved number.

NOTE Read more

NOTE Read more

NOTE Read more

Safety Read more

NOTE Read more

Logically similar to std::ptr::swap Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.