[−][src]Struct loader_rs::json::ConcreteJsonLoader
Trait Implementations
impl<T: Debug + JsonType> Debug for ConcreteJsonLoader<T>
[src]
impl<T: JsonType> Default for ConcreteJsonLoader<T>
[src]
impl<T: JsonType> GetCache<T> for ConcreteJsonLoader<T>
[src]
impl<T: JsonType> GetClient<T> for ConcreteJsonLoader<T>
[src]
fn get_client(&self) -> &Client
[src]
impl<T: JsonType + ToOwnedJsonType> LoaderTrait<T> for ConcreteJsonLoader<T>
[src]
default fn extract_fragment(
&self,
fragment: &str,
value: Arc<T>
) -> Result<Arc<T>, LoaderError>
[src]
&self,
fragment: &str,
value: Arc<T>
) -> Result<Arc<T>, LoaderError>
fn get_from_cache(&self, key: &Url) -> Option<Arc<T>>
[src]
fn save_in_cache(&self, key: &Url, value: &Arc<T>)
[src]
fn load_from_string(&self, content: &str) -> Result<T, LoaderError>
[src]
fn load_from_bytes(&self, content: &[u8]) -> Result<T, LoaderError>
[src]
fn load(&self, url: &str) -> Result<Arc<T>, LoaderError>
[src]
fn load_with_timeout(
&self,
url: &str,
timeout: Duration
) -> Result<Arc<T>, LoaderError>
[src]
&self,
url: &str,
timeout: Duration
) -> Result<Arc<T>, LoaderError>
fn get_or_fetch_with_result(&self, key: &Url) -> Result<Arc<T>, LoaderError>
[src]
Auto Trait Implementations
impl<T> !RefUnwindSafe for ConcreteJsonLoader<T>
impl<T> Send for ConcreteJsonLoader<T> where
T: Send + Sync,
T: Send + Sync,
impl<T> Sync for ConcreteJsonLoader<T> where
T: Send + Sync,
T: Send + Sync,
impl<T> Unpin for ConcreteJsonLoader<T>
impl<T> UnwindSafe for ConcreteJsonLoader<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,