pub enum ContextLoadError {
LoadingDocumentFailed(LoadError),
ContextExtractionFailed(ExtractContextError),
}
Variants§
LoadingDocumentFailed(LoadError)
ContextExtractionFailed(ExtractContextError)
Trait Implementations§
Source§impl Debug for ContextLoadError
impl Debug for ContextLoadError
Source§impl Display for ContextLoadError
impl Display for ContextLoadError
Source§impl Error for ContextLoadError
impl Error for ContextLoadError
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()
Source§impl From<ExtractContextError> for ContextLoadError
impl From<ExtractContextError> for ContextLoadError
Source§fn from(source: ExtractContextError) -> Self
fn from(source: ExtractContextError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ContextLoadError
impl !RefUnwindSafe for ContextLoadError
impl Send for ContextLoadError
impl Sync for ContextLoadError
impl Unpin for ContextLoadError
impl !UnwindSafe for ContextLoadError
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