pub struct LoadError<E> {
pub target: IriBuf,
pub source: E,
}Expand description
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.
Fields§
§target: IriBufURL whose loading failed.
source: EUnderlying loader error.
Implementations§
Trait Implementations§
Source§impl<E> Error for LoadError<E>
impl<E> Error for LoadError<E>
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl<E> Freeze for LoadError<E>where
E: Freeze,
impl<E> RefUnwindSafe for LoadError<E>where
E: RefUnwindSafe,
impl<E> Send for LoadError<E>where
E: Send,
impl<E> Sync for LoadError<E>where
E: Sync,
impl<E> Unpin for LoadError<E>where
E: Unpin,
impl<E> UnsafeUnpin for LoadError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for LoadError<E>where
E: UnwindSafe,
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
Source§impl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
Source§fn as_unordered(&self) -> &Unordered<T>
fn as_unordered(&self) -> &Unordered<T>
Views this value as an
Unordered reference.