Trait json_ld_context_processing::Process 
source · [−]pub trait Process<T, B, M>: Send + Sync {
    type Stripped: Send + Sync;
    fn process_full<'l: 'a, 'a, N, L: ContextLoader<T, M> + Send + Sync>(
        &'l self,
        vocabulary: &'a mut N,
        active_context: &'a Context<T, B, Self::Stripped, M>,
        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::Stripped, 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::Stripped>;
    fn process_with<'l: 'a, 'a, N, L: ContextLoader<T, M> + Send + Sync>(
        &'l self,
        vocabulary: &'a mut N,
        active_context: &'a Context<T, B, Self::Stripped, M>,
        loader: &'a mut L,
        base_url: Option<T>,
        options: Options
    ) -> BoxFuture<'a, ProcessingResult<'l, T, B, M, Self::Stripped, 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::Stripped>,
    { ... }
    fn process<'l: 'a, 'a, N, L: ContextLoader<T, M> + Send + Sync>(
        &'l self,
        vocabulary: &'a mut N,
        loader: &'a mut L,
        base_url: Option<T>
    ) -> BoxFuture<'a, ProcessingResult<'l, T, B, M, Self::Stripped, L::ContextError>>
    where
        N: Send + Sync + VocabularyMut<Iri = T, BlankId = B>,
        T: 'a + Clone + PartialEq + Send + Sync,
        B: 'a + Clone + PartialEq + Send + Sync,
        M: 'a + Clone + Send + Sync,
        L::Context: Into<Self::Stripped>,
    { ... }
}Required Associated Types
Required Methods
sourcefn process_full<'l: 'a, 'a, N, L: ContextLoader<T, M> + Send + Sync>(
    &'l self,
    vocabulary: &'a mut N,
    active_context: &'a Context<T, B, Self::Stripped, M>,
    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::Stripped, 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::Stripped>,
 
fn process_full<'l: 'a, 'a, N, L: ContextLoader<T, M> + Send + Sync>(
    &'l self,
    vocabulary: &'a mut N,
    active_context: &'a Context<T, B, Self::Stripped, M>,
    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::Stripped, 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::Stripped>,
Process the local context with specific options.
Provided Methods
sourcefn process_with<'l: 'a, 'a, N, L: ContextLoader<T, M> + Send + Sync>(
    &'l self,
    vocabulary: &'a mut N,
    active_context: &'a Context<T, B, Self::Stripped, M>,
    loader: &'a mut L,
    base_url: Option<T>,
    options: Options
) -> BoxFuture<'a, ProcessingResult<'l, T, B, M, Self::Stripped, 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::Stripped>,
 
fn process_with<'l: 'a, 'a, N, L: ContextLoader<T, M> + Send + Sync>(
    &'l self,
    vocabulary: &'a mut N,
    active_context: &'a Context<T, B, Self::Stripped, M>,
    loader: &'a mut L,
    base_url: Option<T>,
    options: Options
) -> BoxFuture<'a, ProcessingResult<'l, T, B, M, Self::Stripped, 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::Stripped>,
Process the local context with specific options.
sourcefn process<'l: 'a, 'a, N, L: ContextLoader<T, M> + Send + Sync>(
    &'l self,
    vocabulary: &'a mut N,
    loader: &'a mut L,
    base_url: Option<T>
) -> BoxFuture<'a, ProcessingResult<'l, T, B, M, Self::Stripped, L::ContextError>>where
    N: Send + Sync + VocabularyMut<Iri = T, BlankId = B>,
    T: 'a + Clone + PartialEq + Send + Sync,
    B: 'a + Clone + PartialEq + Send + Sync,
    M: 'a + Clone + Send + Sync,
    L::Context: Into<Self::Stripped>,
 
fn process<'l: 'a, 'a, N, L: ContextLoader<T, M> + Send + Sync>(
    &'l self,
    vocabulary: &'a mut N,
    loader: &'a mut L,
    base_url: Option<T>
) -> BoxFuture<'a, ProcessingResult<'l, T, B, M, Self::Stripped, L::ContextError>>where
    N: Send + Sync + VocabularyMut<Iri = T, BlankId = B>,
    T: 'a + Clone + PartialEq + Send + Sync,
    B: 'a + Clone + PartialEq + Send + Sync,
    M: 'a + Clone + Send + Sync,
    L::Context: Into<Self::Stripped>,
Process the local context with the given initial active context with the default options:
is_remote is false, override_protected is false and propagate is true.
Implementations on Foreign Types
sourceimpl<C: ProcessMeta<T, B, M>, T, B, M: Send + Sync> Process<T, B, M> for Meta<C, M>
 
impl<C: ProcessMeta<T, B, M>, T, B, M: Send + Sync> Process<T, B, M> for Meta<C, M>
sourcefn process_full<'l: 'a, 'a, N, L: ContextLoader<T, M> + Send + Sync>(
    &'l self,
    vocabulary: &'a mut N,
    active_context: &'a Context<T, B, Self::Stripped, M>,
    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::Stripped, L::ContextError>>where
    N: Send + Sync + VocabularyMut<Iri = T, BlankId = B>,
    T: Clone + PartialEq + Send + Sync,
    B: Clone + PartialEq + Send + Sync,
    M: 'a + Clone,
    L::Context: Into<Self::Stripped>,
 
fn process_full<'l: 'a, 'a, N, L: ContextLoader<T, M> + Send + Sync>(
    &'l self,
    vocabulary: &'a mut N,
    active_context: &'a Context<T, B, Self::Stripped, M>,
    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::Stripped, L::ContextError>>where
    N: Send + Sync + VocabularyMut<Iri = T, BlankId = B>,
    T: Clone + PartialEq + Send + Sync,
    B: Clone + PartialEq + Send + Sync,
    M: 'a + Clone,
    L::Context: Into<Self::Stripped>,
Process the local context with specific options.