pub enum LoaderError {
LoadDocumentError(String),
TextSplitterError(TextSplitterError),
IOError(Error),
CSVError(Error),
LoPdfError(Error),
ReadabilityError(Error),
JoinError(JoinError),
OtherError(String),
}
Variants§
LoadDocumentError(String)
TextSplitterError(TextSplitterError)
IOError(Error)
CSVError(Error)
LoPdfError(Error)
ReadabilityError(Error)
JoinError(JoinError)
OtherError(String)
Trait Implementations§
source§impl Debug for LoaderError
impl Debug for LoaderError
source§impl Display for LoaderError
impl Display for LoaderError
source§impl Error for LoaderError
impl Error for LoaderError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<Error> for LoaderError
impl From<Error> for LoaderError
source§impl From<Error> for LoaderError
impl From<Error> for LoaderError
source§impl From<Error> for LoaderError
impl From<Error> for LoaderError
source§impl From<Error> for LoaderError
impl From<Error> for LoaderError
source§impl From<JoinError> for LoaderError
impl From<JoinError> for LoaderError
source§impl From<TextSplitterError> for LoaderError
impl From<TextSplitterError> for LoaderError
source§fn from(source: TextSplitterError) -> Self
fn from(source: TextSplitterError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LoaderError
impl !RefUnwindSafe for LoaderError
impl Send for LoaderError
impl Sync for LoaderError
impl Unpin for LoaderError
impl !UnwindSafe for LoaderError
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
source§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString
. Read more