Kagome
Polkadot Runtime Engine in C++17
rocksdb_util.hpp File Reference
#include <rocksdb/status.h>
#include "common/buffer.hpp"
#include "storage/database_error.hpp"
Include dependency graph for rocksdb_util.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 kagome::storage
 

Functions

DatabaseError kagome::storage::status_as_error (const rocksdb::Status &s)
 
rocksdb::Slice kagome::storage::make_slice (const common::BufferView &buf)
 
gsl::span< const uint8_t > kagome::storage::make_span (const rocksdb::Slice &s)
 
common::Buffer kagome::storage::make_buffer (const rocksdb::Slice &s)