Skip to main content

Crate tablestg

Crate tablestg 

Source
Expand description

This crate is not yet reliable or stable!

Table stores Values which have a specific DataType.

Re-exports§

pub use table::Table;
pub use value::Value;
pub use datatype::DataType;
pub use pageset::PageSet;
pub use store::Store;
pub use vbuckmap::IdVKey;

Modules§

datatype
DataType - describes, encodes and decodes Values.
pageset
PageSet - keeps track of changed pages that need saving.
store
Store - maps keys to variable size values (no size restriction) using 64 bit hash.
table
Table stores Values which have a specific DataType.
value
Generic Values.
vbuckmap
VBuckMap - maps keys to small variable size values using 64 bit hash. For possibly large values see Store.

Structs§

Arc
A thread-safe reference-counting pointer. ‘Arc’ stands for ‘Atomically Reference Counted’.
Local
Local is for thread-local allocations. Local has an array of free lists, one for each size class MIN_SIZE..MAX_SIZE. Allocations larger than MAX_SIZE bytes, or having more than MIN_SIZE alignment, are routed to System.
Perm
Perm is for non-thread-local allocations. Perm is similar to Local, except there is a single instance per process. It implements both Allocator and GlobalAlloc so can be used to set a Global Allocator using the #[global_allocator] attribute.

Type Aliases§

Data
Arc<Vec<u8>>
GBox
BoxA<T, Perm>
GRc
RcA<T, Perm>
GString
StringA<Perm>
GVec
VecA<T, Perm>
HashSet
LBox
BoxA<T, Local>
LRc
RcA<T, Lpcal>
LString
StringA<Local>
LVec
VecA<T, Local>