Trait json_ld_context_processing::Process
source · pub trait Process {
// Required method
async fn process_full<N, L, W>(
&self,
vocabulary: &mut N,
active_context: &Context<N::Iri, N::BlankId>,
loader: &mut L,
base_url: Option<N::Iri>,
options: Options,
warnings: W
) -> Result<Processed<'_, N::Iri, N::BlankId>, Error<L::Error>>
where N: VocabularyMut,
N::Iri: Clone + PartialEq,
N::BlankId: Clone + PartialEq,
L: Loader<N::Iri>,
W: WarningHandler<N>;
// Provided methods
async fn process_with<N, L>(
&self,
vocabulary: &mut N,
active_context: &Context<N::Iri, N::BlankId>,
loader: &mut L,
base_url: Option<N::Iri>,
options: Options
) -> Result<Processed<'_, N::Iri, N::BlankId>, Error<L::Error>>
where N: VocabularyMut,
N::Iri: Clone + PartialEq,
N::BlankId: Clone + PartialEq,
L: Loader<N::Iri> { ... }
async fn process<N, L>(
&self,
vocabulary: &mut N,
loader: &mut L,
base_url: Option<N::Iri>
) -> Result<Processed<'_, N::Iri, N::BlankId>, Error<L::Error>>
where N: VocabularyMut,
N::Iri: Clone + PartialEq,
N::BlankId: Clone + PartialEq,
L: Loader<N::Iri> { ... }
}
Required Methods§
sourceasync fn process_full<N, L, W>(
&self,
vocabulary: &mut N,
active_context: &Context<N::Iri, N::BlankId>,
loader: &mut L,
base_url: Option<N::Iri>,
options: Options,
warnings: W
) -> Result<Processed<'_, N::Iri, N::BlankId>, Error<L::Error>>where
N: VocabularyMut,
N::Iri: Clone + PartialEq,
N::BlankId: Clone + PartialEq,
L: Loader<N::Iri>,
W: WarningHandler<N>,
async fn process_full<N, L, W>(
&self,
vocabulary: &mut N,
active_context: &Context<N::Iri, N::BlankId>,
loader: &mut L,
base_url: Option<N::Iri>,
options: Options,
warnings: W
) -> Result<Processed<'_, N::Iri, N::BlankId>, Error<L::Error>>where
N: VocabularyMut,
N::Iri: Clone + PartialEq,
N::BlankId: Clone + PartialEq,
L: Loader<N::Iri>,
W: WarningHandler<N>,
Process the local context with specific options.
Provided Methods§
sourceasync fn process_with<N, L>(
&self,
vocabulary: &mut N,
active_context: &Context<N::Iri, N::BlankId>,
loader: &mut L,
base_url: Option<N::Iri>,
options: Options
) -> Result<Processed<'_, N::Iri, N::BlankId>, Error<L::Error>>
async fn process_with<N, L>( &self, vocabulary: &mut N, active_context: &Context<N::Iri, N::BlankId>, loader: &mut L, base_url: Option<N::Iri>, options: Options ) -> Result<Processed<'_, N::Iri, N::BlankId>, Error<L::Error>>
Process the local context with specific options.
sourceasync fn process<N, L>(
&self,
vocabulary: &mut N,
loader: &mut L,
base_url: Option<N::Iri>
) -> Result<Processed<'_, N::Iri, N::BlankId>, Error<L::Error>>
async fn process<N, L>( &self, vocabulary: &mut N, loader: &mut L, base_url: Option<N::Iri> ) -> Result<Processed<'_, N::Iri, N::BlankId>, Error<L::Error>>
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.