Skip to content

kvdb 0.3 build error #11

@litecreator

Description

@litecreator
error[E0277]: the trait bound `smallvec::SmallVec<[u8; 32]>: MallocSizeOf` is not satisfied
   --> tetsy-kvdb-rocksdb/src/lib.rs:261:10
    |
261 | #[derive(MallocSizeOf)]
    |          ^^^^^^^^^^^^ expected an implementor of trait `MallocSizeOf`
    |
    = note: required because of the requirements on the impl of `MallocSizeOf` for `HashMap<smallvec::SmallVec<[u8; 32]>, KeyState>`
    = note: 2 redundant requirements hidden
    = note: required because of the requirements on the impl of `MallocSizeOf` for `parking_lot::lock_api::RwLock<parking_lot::RawRwLock, Vec<HashMap<smallvec::SmallVec<[u8; 32]>, KeyState>>>`
    = note: required by `tetsy_util_mem::MallocSizeOf::size_of`
    = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions