pub enum LlmStreamError {
Stream(Value),
Client(LlmClientError),
}Expand description
Why a translated event stream stopped early.
Variants§
Trait Implementations§
Source§impl Debug for LlmStreamError
impl Debug for LlmStreamError
Source§impl Display for LlmStreamError
impl Display for LlmStreamError
Source§impl Error for LlmStreamError
impl Error for LlmStreamError
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<LlmClientError> for LlmStreamError
impl From<LlmClientError> for LlmStreamError
Source§fn from(source: LlmClientError) -> Self
fn from(source: LlmClientError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LlmStreamError
impl !RefUnwindSafe for LlmStreamError
impl Send for LlmStreamError
impl Sync for LlmStreamError
impl Unpin for LlmStreamError
impl UnsafeUnpin for LlmStreamError
impl !UnwindSafe for LlmStreamError
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