Expand description
Document loaders.
Re-exports§
pub use chain::ChainLoader;pub use dereference::Dereference;pub use fs::FsLoader;pub use none::NoLoader;pub use self::reqwest::ReqwestLoader;reqwest
Modules§
- chain
- Loader combining two loaders, trying each in turn.
- dereference
- Invoking a loader from inside an algorithm, on sufficient native stack.
Invoking the
LoadDocumentCallbackfrom inside an algorithm. - fs
- Loader reading documents from the file system.
- map
- Loader serving documents from an in-memory map.
- none
- Loader that refuses every request.
- reqwest
reqwest - Simple document and context loader based on
reqwest
Structs§
- Load
Error - Loading error: wraps the loader-specific error with the IRI we tried to load. Error raised while loading a remote document, with the URL that failed.
- Remote
Document - Remote document.
Enums§
- Context
Load Error - Error raised while loading a remote context.
- Extract
Context Error - Context extraction error.
- Profile
- Value of the
profileparameter of theapplication/ld+jsonmedia type. - Remote
Document Reference - Remote document, loaded or not.
- Standard
Profile - Standard
profileparameter values defined for theapplication/ld+json.
Constants§
- JSON_
MEDIA_ TYPE application/jsonmedia type.- LD_
JSON_ MEDIA_ TYPE application/ld+jsonmedia type.
Traits§
- Extract
Context - Documents from which a JSON-LD context can be extracted.
- Loader
- Document loader.
Type Aliases§
- Loading
Result - Result of loading a remote document.
- Remote
Context - Remote document holding a context.
- Remote
Context Reference - Reference to a remote context, either inline or by URL.