Crate prost_sled[−][src]
prost-sled: An integration layer between prost and sled.
prost-sled makes it easy to store protobufs in a sled database because
it abstracts away the boilerplate of encoding and decoding the protobufs.
If for any reason you wish to interact with the raw bytes instead or
sled::Db implements a method that ProtoDb doesn’t yet, you can simply
use the from
and into
methods of the corresponding types as From and
Into are implemented as a go between, between the two types.
Structs
ProtoDb | Wrapper around sled::Db that allows you to use types implementing prost::Message instead of raw bytes. |
ProtoTree | Wrapper around sled::Tree that allows you to use types implementing prost::Message instead of raw bytes. |
Enums
Error | Errors that can be returned by this library. It’s really a simple integration layer to encompass the possible errors returned by sled and prost. |
Functions
open | Create a ProtoDb and return it. |
Type Definitions
Result | Result of a database action. That is, either some type |