pub trait ProcessMeta<T, B, M>: IntoJsonMeta<M> + AnyValue<M> {
fn process_meta<'l: 'a, 'a, N, L: ContextLoader<T, M> + Send + Sync>(
&'l self,
meta: &'l M,
vocabulary: &'a mut N,
active_context: &'a Context<T, B, Self, M>,
stack: ProcessingStack<T>,
loader: &'a mut L,
base_url: Option<T>,
options: Options,
warnings: impl 'a + Send + WarningHandler<N, M>
) -> BoxFuture<'a, ProcessingResult<'l, T, B, M, Self, L::ContextError>>
where
N: Send + Sync + VocabularyMut<Iri = T, BlankId = B>,
T: Clone + PartialEq + Send + Sync,
B: Clone + PartialEq + Send + Sync,
M: 'a + Clone + Send + Sync,
L::Context: Into<Self>;
}
Expand description
Context processing functions.
Required Methods§
sourcefn process_meta<'l: 'a, 'a, N, L: ContextLoader<T, M> + Send + Sync>(
&'l self,
meta: &'l M,
vocabulary: &'a mut N,
active_context: &'a Context<T, B, Self, M>,
stack: ProcessingStack<T>,
loader: &'a mut L,
base_url: Option<T>,
options: Options,
warnings: impl 'a + Send + WarningHandler<N, M>
) -> BoxFuture<'a, ProcessingResult<'l, T, B, M, Self, L::ContextError>>where
N: Send + Sync + VocabularyMut<Iri = T, BlankId = B>,
T: Clone + PartialEq + Send + Sync,
B: Clone + PartialEq + Send + Sync,
M: 'a + Clone + Send + Sync,
L::Context: Into<Self>,
fn process_meta<'l: 'a, 'a, N, L: ContextLoader<T, M> + Send + Sync>(
&'l self,
meta: &'l M,
vocabulary: &'a mut N,
active_context: &'a Context<T, B, Self, M>,
stack: ProcessingStack<T>,
loader: &'a mut L,
base_url: Option<T>,
options: Options,
warnings: impl 'a + Send + WarningHandler<N, M>
) -> BoxFuture<'a, ProcessingResult<'l, T, B, M, Self, L::ContextError>>where
N: Send + Sync + VocabularyMut<Iri = T, BlankId = B>,
T: Clone + PartialEq + Send + Sync,
B: Clone + PartialEq + Send + Sync,
M: 'a + Clone + Send + Sync,
L::Context: Into<Self>,
Process the local context with specific options.