MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / IndexGetDataRefForGet

Interface IndexGetDataRefForGet

flow-message/src/cross/mod.rs:72–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 fn set(&mut self, key: Idx, value: data::Data);
71 }
72 pub trait IndexGetDataRefForGet<Idx>
73 where
74 Idx: ?Sized,
75 {
76 fn get_ref(&self, key: &'_ Idx) -> Option<&data::Data>;
77 }
78 pub trait IndexGetDataRefForGetRef<Idx>
79 where
80 Idx: ?Sized,

Callers

nothing calls this directly

Implementers 2

cow_map.rsflow-message/src/cross/cow_map.rs
cow_list.rsflow-message/src/cross/cow_list.rs

Calls

no outgoing calls

Tested by

no test coverage detected