pub trait Local<T: Id = IriBuf>: JsonSendSync {
    fn process_full<'a, 's: 'a, C: ContextMut<T> + Send + Sync, L: Loader + Send + Sync>(
        &'s self,
        active_context: &'a C,
        stack: ProcessingStack,
        loader: &'a mut L,
        base_url: Option<Iri<'a>>,
        options: ProcessingOptions
    ) -> BoxFuture<'a, ProcessingResult<'s, Self, C>>
    where
        C::LocalContext: From<L::Output> + From<Self>,
        L::Output: Into<Self>,
        T: Send + Sync
; fn process_with<'a, 's: 'a, C: ContextMut<T> + Send + Sync, L: Loader + Send + Sync>(
        &'s self,
        active_context: &'a C,
        loader: &'a mut L,
        base_url: Option<Iri<'a>>,
        options: ProcessingOptions
    ) -> BoxFuture<'a, ProcessingResult<'s, Self, C>>
    where
        C::LocalContext: From<L::Output> + From<Self>,
        L::Output: Into<Self>,
        T: Send + Sync
, { ... }
fn process<'a, 's: 'a, C: ContextMut<T> + Default + Send + Sync, L: Loader + Send + Sync>(
        &'s self,
        loader: &'a mut L,
        base_url: Option<Iri<'a>>
    ) -> BoxFuture<'a, ProcessingResult<'s, Self, C>>
    where
        C::LocalContext: From<L::Output> + From<Self>,
        L::Output: Into<Self>,
        T: Send + Sync
, { ... } }
Expand description

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

Process the local context with specific options.

Provided methods

Process the local context with specific options.

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.

Implementors