pub enum TextSummarizerError {
MapReduceChainError(MapReduceChainError),
NoOutput,
}
Expand description
The error type returned by the TextSummarizer
when summarizing text.
Variants§
MapReduceChainError(MapReduceChainError)
NoOutput
Trait Implementations§
Source§impl Debug for TextSummarizerError
impl Debug for TextSummarizerError
Source§impl Display for TextSummarizerError
impl Display for TextSummarizerError
Source§impl Error for TextSummarizerError
impl Error for TextSummarizerError
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<MapReduceChainError> for TextSummarizerError
impl From<MapReduceChainError> for TextSummarizerError
Source§fn from(source: MapReduceChainError) -> Self
fn from(source: MapReduceChainError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TextSummarizerError
impl !RefUnwindSafe for TextSummarizerError
impl Send for TextSummarizerError
impl Sync for TextSummarizerError
impl Unpin for TextSummarizerError
impl !UnwindSafe for TextSummarizerError
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