Trait json_ld::Loader[][src]

pub trait Loader {
    type Document;
    fn load<'a>(
        &'a mut self,
        url: Iri<'_>
    ) -> BoxFuture<'a, Result<RemoteDocument<Self::Document>, Error>>; }
Expand description

Document loader.

Associated Types

The type of documents that can be loaded.

Required methods

Load the document behind the given URL.

Implementors