[][src]Struct json_ld::FsLoader

pub struct FsLoader { /* fields omitted */ }

File-system loader.

This is a special JSON-LD document loader that can load document from the file system by attaching a directory to specific URLs.

Methods

impl FsLoader[src]

pub fn new() -> FsLoader[src]

pub fn mount<P: AsRef<Path>>(&mut self, url: Iri, path: P)[src]

Trait Implementations

impl Loader for FsLoader[src]

type Document = JsonValue

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T[src]

type Owned = T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.