Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 461225a9 authored by Ying Hsu's avatar Ying Hsu
Browse files

Reland: floss: Support HashMap<K,V> in D-Bus projection property-map

Implement RefArgToRust and DBusArg traits for Rust HashMap<K, V> so that
property map can support a struct with HashMap fields, e.g.:

struct SomeData {
    services: HashMap<String, Vec<u8>>,
    manufacture: HashMap<i32, Vec<u8>>,
};

Bug: 237389694
Tag: #floss
Test: build with rustc 1.59.0: ./build.py --target test
Change-Id: I85ea02b773bd8fb52236c486c0e3a99d9f117fa4
parent 0401dc53
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment