Enum byztimed::time_client::RequestError[][src]

pub enum RequestError {
    ResolveError(ResolveError),
    CookieLookupError(StoreError),
    C2SLookupError(StoreError),
    TcpError(Error),
    TlsHandshakeError(Error),
    TlsSessionError(Error),
    NtskeProblem(NtskeProblem),
    NtskeNoCookies,
    CredentialSaveError(StoreError),
    CoreTickError(Error),
    CoreDepartureError(Error),
    UdpSocketError(Error),
}

Enumeration of errors that can occur when sending a request

Variants

ResolveError(ResolveError)
CookieLookupError(StoreError)
C2SLookupError(StoreError)
TcpError(Error)
TlsHandshakeError(Error)
TlsSessionError(Error)
NtskeProblem(NtskeProblem)
NtskeNoCookies
CredentialSaveError(StoreError)
CoreTickError(Error)
CoreDepartureError(Error)
UdpSocketError(Error)

Implementations

impl RequestError[src]

pub fn level(&self) -> Level[src]

Level that this error should be logged at

Trait Implementations

impl Debug for RequestError[src]

impl Display for RequestError[src]

impl Error for RequestError[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> DebugAny for T where
    T: Any + Debug

impl<T> From<T> 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<T> UnsafeAny for T where
    T: Any

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