Crate armour

Crate armour 

Source

Re-exports§

pub use cid::Cid;
pub use cid::KeyScheme;
pub use cid::KeyType;
pub use cid::key_size;
pub use database::db::Database;
pub use database::raw_tree::RawTree;
pub use database::tree::CollectionTree;
pub use dyn_types::Typ;
pub use dyn_types::get_type::GetType;
pub use dyn_types::value::Value;
pub use error::DbError;
pub use error::DbResult;
pub use indexes::index::CompositionIndex;
pub use indexes::index::HashIndexExtractor;
pub use record::Migration;
pub use record::Record;
pub use types::entry::Entry;
pub use types::fuid::Fuid;
pub use types::id64::Id64;
pub use types::record_status::RecordStatus;
pub use fjall;
pub use rapira;
pub use sled;

Modules§

cid
database
dyn_types
error
indexes
logdb
migrations
record
replication
types
utils

Macros§

bytemuck_slice_record
bytemuck_record!(User, UserID, sled::InlineArray, “users”)
const_hasher
key should be Base64Url decoded 56 bytes long (~ 75 chars)
hasher
key should be Base64Url decoded 56 bytes long (~ 75 chars)
rapira_record
rapira_record!(User, UserID, sled::InlineArray, “users”)
zerocopy_cid
zerocopy_cid!(Key, [KeyType::U64...], Type::GROUP_BITS, field_name)
zerocopy_record
zerocopy_record!(User, UserID, sled::InlineArray, “users”)

Structs§

InlineArray
A buffer that may either be inline or remote and protected by an Arc. The inner buffer is guaranteed to be aligned to 8 byte boundaries.
Slice
An immutable byte slice that can be cloned without additional heap allocation

Enums§

RecvError
An error returned from Receiver::recv().

Type Aliases§

KV

Derive Macros§

GetType
#[get_type(idx = 1)] in fields#[get_type(flatten)] for unnamed structs#[get_type(with_type(Type))] for named struct fields#[get_type(unimplemented)] for named struct fields#[get_type(custom("name", &[Typ::Bool, Typ::Str]))] for named struct fields