pub trait DbGet<C: Computation> {
// Required method
fn get(&self, key: C) -> C::Output;
}Expand description
Abstracts over the get function provided by Db<S> and DbHandle<S> to avoid
providing get and get_db variants for each function.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".