[][src]Enum kahoot::error::KahootError

pub enum KahootError {
    Hyper(Error),
    InvalidUrl(InvalidUri),
    InvalidStatus(StatusCode),
    TokioJoin(JoinError),
    Json(Error),
    Comet(CometError),
    Http(Error),
    ChallengeDecodeError(DecodeError),
    InvalidCode,
    MissingToken,
    MissingName,
    InvalidLogin(LoginResponse),
}

Kahoot Error

Variants

Hyper(Error)

Hyper HTTP Error

InvalidUrl(InvalidUri)

Invalid http uri

InvalidStatus(StatusCode)

Invalid Http Status

TokioJoin(JoinError)

A blocking task panicked

Json(Error)

Json Error

Comet(CometError)

Comet Error

Http(Error)

Http Error

ChallengeDecodeError(DecodeError)

Challenge decode error

InvalidCode

Invalid Game Code

MissingToken

Missing Token

MissingName

Missing name

InvalidLogin(LoginResponse)

Invalid Login

Trait Implementations

impl Debug for KahootError[src]

impl Display for KahootError[src]

impl Error for KahootError[src]

impl From<CometError> for KahootError[src]

impl From<DecodeError> for KahootError[src]

impl From<Error> for KahootError[src]

impl From<Error> for KahootError[src]

impl From<Error> for KahootError[src]

impl From<InvalidUri> for KahootError[src]

impl From<JoinError> for KahootError[src]

Auto Trait Implementations

impl !RefUnwindSafe for KahootError

impl Send for KahootError

impl Sync for KahootError

impl Unpin for KahootError

impl !UnwindSafe for KahootError

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> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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>,