Struct curl::ErrCode [] [src]

pub struct ErrCode(pub CURLcode);

Methods

impl ErrCode
[src]

fn is_success(self) -> bool

fn code(self) -> CURLcode

Trait Implementations

impl Clone for ErrCode
[src]

fn clone(&self) -> ErrCode

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for ErrCode
[src]

impl Debug for ErrCode
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for ErrCode
[src]

fn fmt(&self, fmt: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Error for ErrCode
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>
1.0.0

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