Expand description
This crate provides assorted data structures that are used in spacetimedb. These structures are general and could be used outside spacetimedb.
Modules§
- error_
stream - Types, traits, and macros for working with non-empty streams of errors.
- map
- nstr
- Provides UTF-8 strings of compile-time-known lengths.
- object_
pool - slim_
slice - Defines slimmer versions of slices, both shared, mutable, and owned.
Macros§
- expect_
error_ matching - Helper macro to match against an error stream, expecting a specific error. For use in tests. Panics if a matching error is not found. Multiple matches are allowed.
- nstr
- Constructs an
NStr<N>
given a string literal ofN
bytes in length.