pub trait QueryResult {
type Resolved<T>;
// Required method
fn map<T, F: FnMut(Key) -> T>(self, f: F) -> Self::Resolved<T>;
}Expand description
Trait for types that can be returned from queries.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl QueryResult for &'static str
impl QueryResult for &'static str
Source§impl QueryResult for BTreeSet<Key>
impl QueryResult for BTreeSet<Key>
Source§impl QueryResult for HashSet<Key>
impl QueryResult for HashSet<Key>
Source§impl QueryResult for HashSet<Key>
Available on crate feature std only.
impl QueryResult for HashSet<Key>
Available on crate feature
std only.