Struct curl::ShareError [] [src]

pub struct ShareError { /* fields omitted */ }

An error returned from "share" operations.

This structure wraps a CURLSHcode.

Methods

impl ShareError
[src]

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

Returns whether this error corresponds to CURLSHE_BAD_OPTION.

Returns whether this error corresponds to CURLSHE_IN_USE.

Returns whether this error corresponds to CURLSHE_INVALID.

Returns whether this error corresponds to CURLSHE_NOMEM.

Returns the value of the underlying error corresponding to libcurl.

Trait Implementations

impl Clone for ShareError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter. Read more

impl Debug for ShareError
[src]

Formats the value using the given formatter.

impl Error for ShareError
[src]

A short description of the error. Read more

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