pub trait Compact<T: Id> {
fn compact_with<'a, C: ContextMut<T>, L: Loader>(
&'a self,
active_context: Inversible<T, &'a C>,
type_scoped_context: Inversible<T, &'a C>,
active_property: Option<&'a str>,
loader: &'a mut L,
options: Options
) -> BoxFuture<'a, Result<JsonValue, Error>>
where
T: 'a,
C: Sync + Send,
C::LocalContext: Send + Sync + From<L::Output>,
L: Sync + Send;
fn compact<'a, C: ContextMut<T>, L: Loader>(
&'a self,
active_context: Inversible<T, &'a C>,
loader: &'a mut L
) -> BoxFuture<'a, Result<JsonValue, Error>>
where
Self: Sync,
T: 'a + Sync + Send,
C: Sync + Send,
C::LocalContext: Send + Sync + From<L::Output>,
L: Sync + Send,
{ ... }
}