[][src]Enum vndb_rs::common::error::VndbError

pub enum VndbError {
    Parse {
        msg: String,
    },
    Missing {
        msg: String,
        field: String,
    },
    BadArg {
        msg: String,
        field: String,
    },
    NeedLogin {
        msg: String,
    },
    Throttled {
        msg: String,
        typ: String,
        minwait: f64,
        fullwait: f64,
    },
    Auth {
        msg: String,
    },
    LoggedIn {
        msg: String,
    },
    GetType {
        msg: String,
    },
    GetInfo {
        msg: String,
        flag: String,
    },
    Filter {
        msg: String,
        field: String,
        op: String,
        value: String,
    },
    SetType {
        msg: String,
    },
    IO {
        msg: String,
    },
    Other {
        msg: String,
    },
}

Variants

Parse

Fields of Parse

msg: String
Missing

Fields of Missing

msg: Stringfield: String
BadArg

Fields of BadArg

msg: Stringfield: String
NeedLogin

Fields of NeedLogin

msg: String
Throttled

Fields of Throttled

msg: Stringtyp: Stringminwait: f64fullwait: f64
Auth

Fields of Auth

msg: String
LoggedIn

Fields of LoggedIn

msg: String
GetType

Fields of GetType

msg: String
GetInfo

Fields of GetInfo

msg: Stringflag: String
Filter

Fields of Filter

msg: Stringfield: Stringop: Stringvalue: String
SetType

Fields of SetType

msg: String
IO

Fields of IO

msg: String
Other

Fields of Other

msg: String

Trait Implementations

impl Debug for VndbError[src]

impl<'de> Deserialize<'de> for VndbError[src]

impl PartialEq<VndbError> for VndbError[src]

impl Serialize for VndbError[src]

impl StructuralPartialEq for VndbError[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.