pub struct OpenRouterStreamError {
pub kind: OpenRouterStreamErrorKind,
pub byte_offset: u64,
}Fields§
§kind: OpenRouterStreamErrorKind§byte_offset: u64Trait Implementations§
Source§impl Clone for OpenRouterStreamError
impl Clone for OpenRouterStreamError
impl Copy for OpenRouterStreamError
Source§impl Debug for OpenRouterStreamError
impl Debug for OpenRouterStreamError
Source§impl Display for OpenRouterStreamError
impl Display for OpenRouterStreamError
impl Eq for OpenRouterStreamError
Source§impl Error for OpenRouterStreamError
impl Error for OpenRouterStreamError
1.30.0 · 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 PartialEq for OpenRouterStreamError
impl PartialEq for OpenRouterStreamError
impl StructuralPartialEq for OpenRouterStreamError
Auto Trait Implementations§
impl Freeze for OpenRouterStreamError
impl RefUnwindSafe for OpenRouterStreamError
impl Send for OpenRouterStreamError
impl Sync for OpenRouterStreamError
impl Unpin for OpenRouterStreamError
impl UnsafeUnpin for OpenRouterStreamError
impl UnwindSafe for OpenRouterStreamError
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