[][src]Enum imagecli::error::ImageCliError

pub enum ImageCliError {
    ImageOpenError {
        path: PathBuf,
        source: ImageError,
    },
    ImageSaveError {
        path: PathBuf,
        source: Error,
    },
    IoError {
        context: String,
        source: Error,
    },
    FmtError {
        source: Error,
    },
    PipelineParseError {
        consumed: String,
        remaining: String,
    },
    GlobPatternError {
        pattern: String,
        source: PatternError,
    },
    GlobIterationError {
        source: GlobError,
    },
    OutputPathError {
        error: String,
    },
    InvalidArgError {
        context: String,
    },
}

The standard error type used in this library.

Variants

ImageOpenError

An error when attempting to open an image file.

Fields of ImageOpenError

path: PathBufsource: ImageError
ImageSaveError

An error when attempting to save an image.

Fields of ImageSaveError

path: PathBufsource: Error
IoError

A generic IO error, with an ad-hoc context.

Fields of IoError

context: Stringsource: Error
FmtError

A generic Fmt error.

Fields of FmtError

source: Error
PipelineParseError

An error when attempting to parse a pipeline.

Fields of PipelineParseError

consumed: Stringremaining: String
GlobPatternError

An issue with a user-provided glob pattern.

Fields of GlobPatternError

pattern: Stringsource: PatternError
GlobIterationError

An error when iterating files matching a glob.

Fields of GlobIterationError

source: GlobError
OutputPathError

A user-provided output path or pattern is invalid.

Fields of OutputPathError

error: String
InvalidArgError

An error from any other issue with user-provided arguments.

Fields of InvalidArgError

context: String

Trait Implementations

impl Debug for ImageCliError[src]

impl Display for ImageCliError[src]

impl Error for ImageCliError where
    Self: Debug + Display
[src]

impl ErrorCompat for ImageCliError[src]

impl From<Error> for ImageCliError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<Src, Scheme> ApproxFrom<Src, Scheme> for Src where
    Scheme: ApproxScheme, 

type Err = NoError

The error type produced by a failed conversion.

impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Src where
    Dst: ApproxFrom<Src, Scheme>,
    Scheme: ApproxScheme, 

type Err = <Dst as ApproxFrom<Src, Scheme>>::Err

The error type produced by a failed conversion.

impl<T> AsErrorSource for T where
    T: 'static + Error
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, Dst> ConvAsUtil<Dst> for T

impl<T> ConvUtil for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SetParameter for T

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<Src> TryFrom<Src> for Src

type Err = NoError

The error type produced by a failed conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<Src, Dst> TryInto<Dst> for Src where
    Dst: TryFrom<Src>, 

type Err = <Dst as TryFrom<Src>>::Err

The error type produced by a failed conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<Src> ValueFrom<Src> for Src

type Err = NoError

The error type produced by a failed conversion.

impl<Src, Dst> ValueInto<Dst> for Src where
    Dst: ValueFrom<Src>, 

type Err = <Dst as ValueFrom<Src>>::Err

The error type produced by a failed conversion.