pub struct OpenRouterRequestError {
pub kind: OpenRouterRequestErrorKind,
}Fields§
§kind: OpenRouterRequestErrorKindTrait Implementations§
Source§impl Clone for OpenRouterRequestError
impl Clone for OpenRouterRequestError
impl Copy for OpenRouterRequestError
Source§impl Debug for OpenRouterRequestError
impl Debug for OpenRouterRequestError
Source§impl Display for OpenRouterRequestError
impl Display for OpenRouterRequestError
impl Eq for OpenRouterRequestError
Source§impl Error for OpenRouterRequestError
impl Error for OpenRouterRequestError
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 From<RouteIdentityError> for OpenRouterRequestError
impl From<RouteIdentityError> for OpenRouterRequestError
Source§fn from(_: RouteIdentityError) -> Self
fn from(_: RouteIdentityError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for OpenRouterRequestError
impl PartialEq for OpenRouterRequestError
impl StructuralPartialEq for OpenRouterRequestError
Auto Trait Implementations§
impl Freeze for OpenRouterRequestError
impl RefUnwindSafe for OpenRouterRequestError
impl Send for OpenRouterRequestError
impl Sync for OpenRouterRequestError
impl Unpin for OpenRouterRequestError
impl UnsafeUnpin for OpenRouterRequestError
impl UnwindSafe for OpenRouterRequestError
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