Struct curl::FormError [] [src]

pub struct FormError { /* fields omitted */ }

An error from "form add" operations.

THis structure wraps a CURLFORMcode.

Methods

impl FormError
[src]

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

Returns whether this error corresponds to CURL_FORMADD_MEMORY.

Returns whether this error corresponds to CURL_FORMADD_OPTION_TWICE.

Returns whether this error corresponds to CURL_FORMADD_NULL.

Returns whether this error corresponds to CURL_FORMADD_UNKNOWN_OPTION.

Returns whether this error corresponds to CURL_FORMADD_INCOMPLETE.

Returns whether this error corresponds to CURL_FORMADD_ILLEGAL_ARRAY.

Returns whether this error corresponds to CURL_FORMADD_DISABLED.

Returns the value of the underlying error corresponding to libcurl.

Trait Implementations

impl Clone for FormError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for FormError
[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 FormError
[src]

Formats the value using the given formatter.

impl Debug for FormError
[src]

Formats the value using the given formatter.

impl Error for FormError
[src]

A short description of the error. Read more

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