Struct curl::MultiError [] [src]

pub struct MultiError { /* fields omitted */ }

An error from "multi" operations.

THis structure wraps a CURLMcode.

Methods

impl MultiError
[src]

Creates a new error from the underlying code returned by libcurl.

Returns whether this error corresponds to CURLM_BAD_HANDLE.

Returns whether this error corresponds to CURLM_BAD_EASY_HANDLE.

Returns whether this error corresponds to CURLM_OUT_OF_MEMORY.

Returns whether this error corresponds to CURLM_INTERNAL_ERROR.

Returns whether this error corresponds to CURLM_BAD_SOCKET.

Returns whether this error corresponds to CURLM_UNKNOWN_OPTION.

Returns whether this error corresponds to CURLM_CALL_MULTI_PERFORM.

Returns the value of the underlying error corresponding to libcurl.

Trait Implementations

impl Clone for MultiError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for MultiError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Display for MultiError
[src]

Formats the value using the given formatter. Read more

impl Debug for MultiError
[src]

Formats the value using the given formatter.

impl Error for MultiError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more