Enum prompto::PromptoError
[−]
[src]
pub enum PromptoError { ImageError { cause: ImageError, }, IoError { cause: Error, }, MaskingError, NotRgba, }
Library errors.
Variants
ImageError
Failure to process an image.
Fields of ImageError
cause: ImageError | Source of the error. |
IoError
Failure to load an image.
Fields of IoError
cause: Error | Source of the error. |
MaskingError
Problem encountered when adding the image mask.
NotRgba
Image is not an RGB image with an alpha channel.
Trait Implementations
impl Debug for PromptoError
[src]
impl From<ImageError> for PromptoError
[src]
fn from(error: ImageError) -> Self
Performs the conversion.