pub trait JsonLdEnvironment {
type Loader: JsonLdLoader;
// Required methods
fn loader(&self) -> &Self::Loader;
fn warn(&self, w: JsonLdWarning);
// Provided methods
fn as_async_environment(&self) -> &ToAsyncJsonLdEnvironment<Self> { ... }
fn into_async_environment(self) -> ToAsyncJsonLdEnvironment<Self>
where Self: Sized { ... }
}Required Associated Types§
type Loader: JsonLdLoader
Required Methods§
Provided Methods§
fn as_async_environment(&self) -> &ToAsyncJsonLdEnvironment<Self>
fn into_async_environment(self) -> ToAsyncJsonLdEnvironment<Self>where
Self: Sized,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".