[][src]Enum idcurl::Kind

pub enum Kind {
    ResolveProxy,
    ResolveHost,
    Connect,
    Http2,
    BodyStreamFailure,
    InterfaceFailure,
    TooManyRedirects,
    NothingFromServer,
    SendError,
    RecvError,
    SslConnect,
    SslLocalCertificate,
    SslCipher,
    SslCertificate,
    SslShutdownFailed,
    Curl(String),
    PartialFile,
    Timeout,
    NotUtf8(FromUtf8Error),
}

Specifies the type of error

Variants

ResolveProxy

failure resolving proxy

ResolveHost

failure resolving host

Connect

failed connecting to host

Http2

HTTP2 framing error

BodyStreamFailure

failure reading from the specified Body

InterfaceFailure

outgoing interface could not be used

TooManyRedirects

Redirect loop or too many redirects

NothingFromServer

The server sent nothing

SendError

Failed to send on socket

RecvError

Failed to receive from socket

SslConnect

failure performing SSL handshake

SslLocalCertificate

local client certificate problem

SslCipher

The SSL cipher is invalid

SslCertificate

Remote server's SSL certificate is invalid

SslShutdownFailed

The remote server did not close via SSL

Curl(String)

unknown CURL error

PartialFile

The expected was not the reported size

Timeout

The specified timeout was exceeded

NotUtf8(FromUtf8Error)

The contents were not valid UTF-8

Trait Implementations

impl Debug for Kind[src]

Auto Trait Implementations

impl Sync for Kind

impl Send for Kind

impl Unpin for Kind

impl RefUnwindSafe for Kind

impl UnwindSafe for Kind

Blanket Implementations

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.

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

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

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