pub trait CompactIndexed<J: JsonSrc, T: Id> {
    fn compact_indexed<'a, K: JsonFrom<J>, C: ContextMut<T>, L: Loader, M>(
        &'a self,
        index: Option<&'a str>,
        active_context: Inversible<T, &'a C>,
        type_scoped_context: Inversible<T, &'a C>,
        active_property: Option<&'a str>,
        loader: &'a mut L,
        options: Options,
        meta: M
    ) -> BoxFuture<'a, Result<K, Error>>
    where
        J: 'a,
        T: 'a,
        C: Sync + Send,
        C::LocalContext: Send + Sync + From<L::Output>,
        L: Sync + Send,
        M: 'a + Send + Sync + Clone + Fn(Option<&J::MetaData>) -> K::MetaData
; }
Expand description

Type that can be compacted with an index.

Required methods

Compact with the given optional index.

Implementors