pub enum JellyfinSDKError {
ReqwestError(Error),
InvalidURL(ParseError),
CannotGetPathSegments,
NoJellyfinAPICreated,
HttpResponseError(u16),
}Expand description
Enum representing all possible SDK errors.
Variants§
ReqwestError(Error)
InvalidURL(ParseError)
CannotGetPathSegments
NoJellyfinAPICreated
HttpResponseError(u16)
Trait Implementations§
Source§impl Debug for JellyfinSDKError
impl Debug for JellyfinSDKError
Source§impl Display for JellyfinSDKError
impl Display for JellyfinSDKError
Source§impl Error for JellyfinSDKError
impl Error for JellyfinSDKError
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<Error> for JellyfinSDKError
impl From<Error> for JellyfinSDKError
Source§impl From<ParseError> for JellyfinSDKError
impl From<ParseError> for JellyfinSDKError
Source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for JellyfinSDKError
impl !RefUnwindSafe for JellyfinSDKError
impl Send for JellyfinSDKError
impl Sync for JellyfinSDKError
impl Unpin for JellyfinSDKError
impl !UnwindSafe for JellyfinSDKError
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