Struct gphoto::Error [] [src]

pub struct Error {
    // some fields omitted
}

An error type for working with gphoto2.

Methods

impl Error

fn kind(&self) -> ErrorKind

Returns the kind of error.

fn message(&self) -> &'static str

Returns an error message.

Trait Implementations

impl Display for Error

fn fmt(&self, fmt: &mut Formatter) -> StdResult<(), Error>

impl StdError for Error

fn description(&self) -> &str

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

Derived Implementations

impl Debug for Error

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