taijuwu
06/21/2023, 10:20 AMXuanwo
06/21/2023, 10:47 AMXuanwo
06/21/2023, 10:48 AMallocator_api feature.Xuanwo
06/21/2023, 10:48 AMXuanwo
06/21/2023, 10:49 AMnightly feature for this.Xuanwo
06/21/2023, 10:49 AMtaijuwu
06/21/2023, 10:51 AMtaijuwu
06/21/2023, 10:52 AMtaijuwu
06/21/2023, 10:54 AMtaijuwu
06/21/2023, 12:48 PMXuanwo
06/23/2023, 3:05 AMXuanwo
06/23/2023, 3:05 AMtaijuwu
06/23/2023, 4:20 AMtaijuwu
06/23/2023, 4:38 AMerror[E0277]: the trait bound `&str: leapfrog::Value` is not satisfied
--> core/src/services/azblob/backend.rs:297:43
|
297 | let mut conn_map: HashMap<_, _> = HashMap::default();
| ^^^^^^^^^^^^^^^^ the trait `leapfrog::Value` is not implemented for `&str`
|
= help: the following other types implement trait `leapfrog::Value`:
i16
i32
i64
i8
u16
u32
u64
u8
usize
= note: required for `leapfrog::HashMap<&str, &str>` to implement `std::default::Default`
It seems to require me to implement default value for &str type.
So do I have to modify the leapfrog package?
Or do you have any suggestion to deal this problem?Xuanwo
06/23/2023, 4:47 AMservices/azblob?Xuanwo
06/23/2023, 4:47 AMtaijuwu
06/23/2023, 4:59 AM