pub trait EnvContainer<'sg, 'rslv, LABEL: 'sg, DATA: 'sg>: From<Env<'sg, LABEL, DATA>> + 'rslv {
// Required methods
fn empty() -> Self;
fn flat_map(
&self,
map: impl 'rslv + for<'short> FnOnce(&'short Env<'sg, LABEL, DATA>) -> Self,
) -> Self;
}
Expand description
Interface for environment containers that support the operations required for query resolution.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.