pub struct StaticLoader;Trait Implementations§
Source§impl Clone for StaticLoader
impl Clone for StaticLoader
Source§fn clone(&self) -> StaticLoader
fn clone(&self) -> StaticLoader
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Loader for StaticLoader
impl Loader for StaticLoader
Source§async fn load(&self, url: &Iri) -> LoadingResult
async fn load(&self, url: &Iri) -> LoadingResult
Loads the document behind the given IRI.
Source§async fn load_with<V>(
&self,
vocabulary: &mut V,
url: <V as IriVocabulary>::Iri,
) -> Result<RemoteDocument<<V as IriVocabulary>::Iri>, LoadError>
async fn load_with<V>( &self, vocabulary: &mut V, url: <V as IriVocabulary>::Iri, ) -> Result<RemoteDocument<<V as IriVocabulary>::Iri>, LoadError>
Loads the document behind the given IRI, using the given vocabulary.
Auto Trait Implementations§
impl Freeze for StaticLoader
impl RefUnwindSafe for StaticLoader
impl Send for StaticLoader
impl Sync for StaticLoader
impl Unpin for StaticLoader
impl UnwindSafe for StaticLoader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more