pub trait ProcessMeta<T, B, M>: IntoJsonMeta<M> + AnyValue<M> {
// Required method
fn process_meta<'l, 'a, N, L>(
&'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 Send + WarningHandler<N, M> + 'a,
) -> Pin<Box<dyn Future<Output = Result<Processed<'l, T, B, Self, M>, Meta<Error<<L as ContextLoader<T, M>>::ContextError>, M>>> + Send + 'a>>
where 'l: 'a,
L: ContextLoader<T, M> + Send + Sync,
N: Send + Sync + VocabularyMut<Iri = T, BlankId = B>,
T: Clone + PartialEq + Send + Sync,
B: Clone + PartialEq + Send + Sync,
M: 'a + Clone + Send + Sync,
<L as ContextLoader<T, M>>::Context: Into<Self>;
}Expand description
Context processing functions.
Required Methods§
Sourcefn process_meta<'l, 'a, N, L>(
&'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 Send + WarningHandler<N, M> + 'a,
) -> Pin<Box<dyn Future<Output = Result<Processed<'l, T, B, Self, M>, Meta<Error<<L as ContextLoader<T, M>>::ContextError>, M>>> + Send + 'a>>
fn process_meta<'l, 'a, N, L>( &'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 Send + WarningHandler<N, M> + 'a, ) -> Pin<Box<dyn Future<Output = Result<Processed<'l, T, B, Self, M>, Meta<Error<<L as ContextLoader<T, M>>::ContextError>, M>>> + Send + 'a>>
Process the local context with specific options.
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.