pub enum ConvertError {
Svg(String),
Image(String),
Io(Error),
}
Expand description
Contains possible errors for a conversion
Variants§
Svg(String)
Available on crate feature
svg
only.Contains error message for a SVG conversion
Image(String)
Available on crate feature
image
only.Contains error message for an Image conversion
Io(Error)
Contains error message if a file write failed
Trait Implementations§
Source§impl Debug for ConvertError
impl Debug for ConvertError
Source§impl From<ImageError> for ConvertError
Available on crate feature image
only.
impl From<ImageError> for ConvertError
Available on crate feature
image
only.Source§fn from(err: ImageError) -> Self
fn from(err: ImageError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConvertError
impl !RefUnwindSafe for ConvertError
impl Send for ConvertError
impl Sync for ConvertError
impl Unpin for ConvertError
impl !UnwindSafe for ConvertError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more