[−][src]Trait json_ld::context::Local
Local context used for context expansion.
Local contexts can be seen as "abstract contexts" that can be processed to enrich an existing active context.
Required methods
fn process_with<'a, C: Send + Sync + ContextMut<T>, L: Send + Sync + Loader>(
&'a self,
active_context: &'a C,
stack: ProcessingStack,
loader: &'a mut L,
base_url: Option<Iri>,
options: ProcessingOptions
) -> BoxFuture<'a, Result<C, Error>> where
C::LocalContext: Send + Sync + From<L::Output> + From<Self>,
L::Output: Into<Self>,
T: Send + Sync,
&'a self,
active_context: &'a C,
stack: ProcessingStack,
loader: &'a mut L,
base_url: Option<Iri>,
options: ProcessingOptions
) -> BoxFuture<'a, Result<C, Error>> where
C::LocalContext: Send + Sync + From<L::Output> + From<Self>,
L::Output: Into<Self>,
T: Send + Sync,
Process the local context with specific options.
Provided methods
fn process<'a, C: Send + Sync + ContextMut<T>, L: Send + Sync + Loader>(
&'a self,
active_context: &'a C,
loader: &'a mut L,
base_url: Option<Iri>
) -> BoxFuture<'a, Result<C, Error>> where
C::LocalContext: Send + Sync + From<L::Output> + From<Self>,
L::Output: Into<Self>,
T: Send + Sync,
&'a self,
active_context: &'a C,
loader: &'a mut L,
base_url: Option<Iri>
) -> BoxFuture<'a, Result<C, Error>> where
C::LocalContext: Send + Sync + From<L::Output> + From<Self>,
L::Output: Into<Self>,
T: Send + Sync,
Process the local context with the given active context with the default options:
is_remote
is false
, override_protected
is false
and propagate
is true
.
Implementations on Foreign Types
impl<T: Id> Local<T> for JsonValue
[src]
fn process_with<'a, C: Send + Sync + ContextMut<T>, L: Send + Sync + Loader>(
&'a self,
active_context: &'a C,
stack: ProcessingStack,
loader: &'a mut L,
base_url: Option<Iri>,
options: ProcessingOptions
) -> BoxFuture<'a, Result<C, Error>> where
C::LocalContext: Send + Sync + From<L::Output> + From<Self>,
L::Output: Into<Self>,
T: Send + Sync,
[src]
&'a self,
active_context: &'a C,
stack: ProcessingStack,
loader: &'a mut L,
base_url: Option<Iri>,
options: ProcessingOptions
) -> BoxFuture<'a, Result<C, Error>> where
C::LocalContext: Send + Sync + From<L::Output> + From<Self>,
L::Output: Into<Self>,
T: Send + Sync,
Load a local context.