pub trait ProcessMeta<T, B, M>: IntoJsonMeta<M> + AnyValue<M> {
// Required method
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>>
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>>
Process the local context with specific options.
Object Safety§
This trait is not object safe.