[][src]Enum plex_api::PlexApiError

pub enum PlexApiError {
    ReqwestError {
        source: Error,
    },
    XmlDeserialiseError {
        source: DeError,
    },
    JsonDeserealiseError {
        source: Error,
    },
    LockReadPoison,
    MyPlexErrorResponse {
        errors: Vec<PlexApiError>,
    },
    MyPlexApiError {
        code: i32,
        message: String,
    },
    FailedToGetClaimToken(String),
    UrlParseError {
        source: ParseError,
    },
    DeleteUrlIsNotProvided,
    WebhookNotFound {
        url: String,
    },
    UnexpectedApiResponse(String),
    NoChangedSettingsFound,
    CurrentDeviceIsNotServer {
        provides: Vec<String>,
    },
    EmptyConnectionsList,
    ConnectionFailed {
        errors: HashMap<Url, PlexApiError>,
    },
    UnknownSettingRequested {
        key: String,
        known: String,
    },
    ExpectedSettingValueBool {
        provided: SettingValue,
    },
    ExpectedSettingValueInt {
        provided: SettingValue,
    },
    ExpectedSettingValueText {
        provided: SettingValue,
    },
    ExpectedSettingValueDouble {
        provided: SettingValue,
    },
}

Variants

ReqwestError

Fields of ReqwestError

source: Error
XmlDeserialiseError

Fields of XmlDeserialiseError

source: DeError
JsonDeserealiseError

Fields of JsonDeserealiseError

source: Error
LockReadPoison
MyPlexErrorResponse

Fields of MyPlexErrorResponse

errors: Vec<PlexApiError>
MyPlexApiError

Fields of MyPlexApiError

code: i32message: String
FailedToGetClaimToken(String)
UrlParseError

Fields of UrlParseError

source: ParseError
DeleteUrlIsNotProvided
WebhookNotFound

Fields of WebhookNotFound

url: String
UnexpectedApiResponse(String)
NoChangedSettingsFound
CurrentDeviceIsNotServer

Fields of CurrentDeviceIsNotServer

provides: Vec<String>
EmptyConnectionsList
ConnectionFailed

Fields of ConnectionFailed

errors: HashMap<Url, PlexApiError>
UnknownSettingRequested

Fields of UnknownSettingRequested

key: Stringknown: String
ExpectedSettingValueBool

Fields of ExpectedSettingValueBool

provided: SettingValue
ExpectedSettingValueInt

Fields of ExpectedSettingValueInt

provided: SettingValue
ExpectedSettingValueText

Fields of ExpectedSettingValueText

provided: SettingValue
ExpectedSettingValueDouble

Fields of ExpectedSettingValueDouble

provided: SettingValue

Trait Implementations

impl Debug for PlexApiError[src]

impl Display for PlexApiError[src]

impl Error for PlexApiError[src]

impl From<DeError> for PlexApiError[src]

impl From<Error> for PlexApiError[src]

impl From<Error> for PlexApiError[src]

impl From<ParseError> for PlexApiError[src]

impl<'_> From<PoisonError<RwLockReadGuard<'_, Client>>> for PlexApiError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,