pub trait Process<T, B, M>: Send + Sync {
    type Stripped: Send + Sync;

    // Required method
    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>;

    // Provided methods
    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§

source

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§

source

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.

source

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.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<C: ProcessMeta<T, B, M>, T, B, M: Send + Sync> Process<T, B, M> for Meta<C, M>

source§

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.

§

type Stripped = C

Implementors§