pub trait Process<T, B, M>: Send + Sync {
type Stripped: Send + Sync;
fn process_full<'l, 'a, N, L>(
&'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 Send + WarningHandler<N, M> + 'a
) -> Pin<Box<dyn Future<Output = Result<Processed<'l, T, B, Self::Stripped, M>, Meta<Error<<L as ContextLoader<T, M>>::ContextError>, M>>> + Send + 'a, Global>>
where
'l: 'a,
L: ContextLoader<T, M> + Send + Sync,
N: Send + Sync + VocabularyMut<Iri = T, BlankId = B>,
T: Clone + PartialEq<T> + Send + Sync,
B: Clone + PartialEq<B> + Send + Sync,
M: 'a + Clone + Send + Sync,
<L as ContextLoader<T, M>>::Context: Into<Self::Stripped>;
fn process_with<'l, 'a, N, L>(
&'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
) -> Pin<Box<dyn Future<Output = Result<Processed<'l, T, B, Self::Stripped, M>, Meta<Error<<L as ContextLoader<T, M>>::ContextError>, M>>> + Send + 'a, Global>>
where
'l: 'a,
L: ContextLoader<T, M> + Send + Sync,
N: Send + Sync + VocabularyMut<Iri = T, BlankId = B>,
T: Clone + PartialEq<T> + Send + Sync,
B: Clone + PartialEq<B> + Send + Sync,
M: 'a + Clone + Send + Sync,
<L as ContextLoader<T, M>>::Context: Into<Self::Stripped>,
{ ... }
fn process<'l, 'a, N, L>(
&'l self,
vocabulary: &'a mut N,
loader: &'a mut L,
base_url: Option<T>
) -> Pin<Box<dyn Future<Output = Result<Processed<'l, T, B, Self::Stripped, M>, Meta<Error<<L as ContextLoader<T, M>>::ContextError>, M>>> + Send + 'a, Global>>
where
'l: 'a,
L: ContextLoader<T, M> + Send + Sync,
N: Send + Sync + VocabularyMut<Iri = T, BlankId = B>,
T: 'a + Clone + PartialEq<T> + Send + Sync,
B: 'a + Clone + PartialEq<B> + Send + Sync,
M: 'a + Clone + Send + Sync,
<L as ContextLoader<T, M>>::Context: Into<Self::Stripped>,
{ ... }
}
Required Associated Types§
Required Methods§
sourcefn process_full<'l, 'a, N, L>(
&'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 Send + WarningHandler<N, M> + 'a
) -> Pin<Box<dyn Future<Output = Result<Processed<'l, T, B, Self::Stripped, M>, Meta<Error<<L as ContextLoader<T, M>>::ContextError>, M>>> + Send + 'a, Global>>where
'l: 'a,
L: ContextLoader<T, M> + Send + Sync,
N: Send + Sync + VocabularyMut<Iri = T, BlankId = B>,
T: Clone + PartialEq<T> + Send + Sync,
B: Clone + PartialEq<B> + Send + Sync,
M: 'a + Clone + Send + Sync,
<L as ContextLoader<T, M>>::Context: Into<Self::Stripped>,
fn process_full<'l, 'a, N, L>(
&'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 Send + WarningHandler<N, M> + 'a
) -> Pin<Box<dyn Future<Output = Result<Processed<'l, T, B, Self::Stripped, M>, Meta<Error<<L as ContextLoader<T, M>>::ContextError>, M>>> + Send + 'a, Global>>where
'l: 'a,
L: ContextLoader<T, M> + Send + Sync,
N: Send + Sync + VocabularyMut<Iri = T, BlankId = B>,
T: Clone + PartialEq<T> + Send + Sync,
B: Clone + PartialEq<B> + Send + Sync,
M: 'a + Clone + Send + Sync,
<L as ContextLoader<T, M>>::Context: Into<Self::Stripped>,
Process the local context with specific options.
Provided Methods§
sourcefn process_with<'l, 'a, N, L>(
&'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
) -> Pin<Box<dyn Future<Output = Result<Processed<'l, T, B, Self::Stripped, M>, Meta<Error<<L as ContextLoader<T, M>>::ContextError>, M>>> + Send + 'a, Global>>where
'l: 'a,
L: ContextLoader<T, M> + Send + Sync,
N: Send + Sync + VocabularyMut<Iri = T, BlankId = B>,
T: Clone + PartialEq<T> + Send + Sync,
B: Clone + PartialEq<B> + Send + Sync,
M: 'a + Clone + Send + Sync,
<L as ContextLoader<T, M>>::Context: Into<Self::Stripped>,
fn process_with<'l, 'a, N, L>(
&'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
) -> Pin<Box<dyn Future<Output = Result<Processed<'l, T, B, Self::Stripped, M>, Meta<Error<<L as ContextLoader<T, M>>::ContextError>, M>>> + Send + 'a, Global>>where
'l: 'a,
L: ContextLoader<T, M> + Send + Sync,
N: Send + Sync + VocabularyMut<Iri = T, BlankId = B>,
T: Clone + PartialEq<T> + Send + Sync,
B: Clone + PartialEq<B> + Send + Sync,
M: 'a + Clone + Send + Sync,
<L as ContextLoader<T, M>>::Context: Into<Self::Stripped>,
Process the local context with specific options.
sourcefn process<'l, 'a, N, L>(
&'l self,
vocabulary: &'a mut N,
loader: &'a mut L,
base_url: Option<T>
) -> Pin<Box<dyn Future<Output = Result<Processed<'l, T, B, Self::Stripped, M>, Meta<Error<<L as ContextLoader<T, M>>::ContextError>, M>>> + Send + 'a, Global>>where
'l: 'a,
L: ContextLoader<T, M> + Send + Sync,
N: Send + Sync + VocabularyMut<Iri = T, BlankId = B>,
T: 'a + Clone + PartialEq<T> + Send + Sync,
B: 'a + Clone + PartialEq<B> + Send + Sync,
M: 'a + Clone + Send + Sync,
<L as ContextLoader<T, M>>::Context: Into<Self::Stripped>,
fn process<'l, 'a, N, L>(
&'l self,
vocabulary: &'a mut N,
loader: &'a mut L,
base_url: Option<T>
) -> Pin<Box<dyn Future<Output = Result<Processed<'l, T, B, Self::Stripped, M>, Meta<Error<<L as ContextLoader<T, M>>::ContextError>, M>>> + Send + 'a, Global>>where
'l: 'a,
L: ContextLoader<T, M> + Send + Sync,
N: Send + Sync + VocabularyMut<Iri = T, BlankId = B>,
T: 'a + Clone + PartialEq<T> + Send + Sync,
B: 'a + Clone + PartialEq<B> + Send + Sync,
M: 'a + Clone + Send + Sync,
<L as ContextLoader<T, M>>::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§
source§impl<C, T, B, M> Process<T, B, M> for Meta<C, M>where
C: ProcessMeta<T, B, M>,
M: Send + Sync,
impl<C, T, B, M> Process<T, B, M> for Meta<C, M>where
C: ProcessMeta<T, B, M>,
M: Send + Sync,
source§fn process_full<'l, 'a, N, L>(
&'l self,
vocabulary: &'a mut N,
active_context: &'a Context<T, B, <Meta<C, M> as Process<T, B, M>>::Stripped, M>,
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, <Meta<C, M> as Process<T, B, M>>::Stripped, M>, Meta<Error<<L as ContextLoader<T, M>>::ContextError>, M>>> + Send + 'a, Global>>where
'l: 'a,
L: ContextLoader<T, M> + Send + Sync,
N: Send + Sync + VocabularyMut<Iri = T, BlankId = B>,
T: Clone + PartialEq<T> + Send + Sync,
B: Clone + PartialEq<B> + Send + Sync,
M: 'a + Clone,
<L as ContextLoader<T, M>>::Context: Into<<Meta<C, M> as Process<T, B, M>>::Stripped>,
fn process_full<'l, 'a, N, L>(
&'l self,
vocabulary: &'a mut N,
active_context: &'a Context<T, B, <Meta<C, M> as Process<T, B, M>>::Stripped, M>,
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, <Meta<C, M> as Process<T, B, M>>::Stripped, M>, Meta<Error<<L as ContextLoader<T, M>>::ContextError>, M>>> + Send + 'a, Global>>where
'l: 'a,
L: ContextLoader<T, M> + Send + Sync,
N: Send + Sync + VocabularyMut<Iri = T, BlankId = B>,
T: Clone + PartialEq<T> + Send + Sync,
B: Clone + PartialEq<B> + Send + Sync,
M: 'a + Clone,
<L as ContextLoader<T, M>>::Context: Into<<Meta<C, M> as Process<T, B, M>>::Stripped>,
Process the local context with specific options.