Enum gphoto::ErrorKind [] [src]

pub enum ErrorKind {
    InvalidInput,
    NotSupported,
    CorruptedData,
    ModelNotFound,
    FileExists,
    DirectoryExists,
    DirectoryNotFound,
    FileNotFound,
    CameraBusy,
    PathNotAbsolute,
    Cancel,
    CameraError,
    OSFailure,
    NoSpace,
    Other,
}

Types of errors reported by gphoto2.

Variants

InvalidInput

A parameter was incorrect.

NotSupported

Functionality not supported.

CorruptedData

Corrupted data received.

ModelNotFound

Specified camera model was not found.

FileExists

File already exists.

DirectoryExists

Directory already exists.

DirectoryNotFound

Directory was not found.

FileNotFound

File was not found.

CameraBusy

Camera is busy.

PathNotAbsolute

Path is not absolute.

Cancel

Operation was canceled.

CameraError

An error was reported by the camera.

OSFailure

An error was reported by the operating system.

NoSpace

Not enough space when uploading a file.

Other

An unspecified error occured.

Trait Implementations

Derived Implementations

impl Copy for ErrorKind

impl Clone for ErrorKind

fn clone(&self) -> ErrorKind

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

impl Eq for ErrorKind

impl PartialEq for ErrorKind

fn eq(&self, __arg_0: &ErrorKind) -> bool

fn ne(&self, __arg_0: &ErrorKind) -> bool

impl Debug for ErrorKind

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