pub enum RedrawError {
Metadata(MetadataError),
Inputs(InputsError),
}Expand description
Why a drawing could not be made again.
Variants§
Metadata(MetadataError)
The SVG’s metadata does not read.
Inputs(InputsError)
What the metadata says cannot be computed.
Trait Implementations§
Source§impl Clone for RedrawError
impl Clone for RedrawError
Source§impl Debug for RedrawError
impl Debug for RedrawError
Source§impl Display for RedrawError
impl Display for RedrawError
Source§impl Error for RedrawError
impl Error for RedrawError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<InputsError> for RedrawError
impl From<InputsError> for RedrawError
Source§fn from(source: InputsError) -> Self
fn from(source: InputsError) -> Self
Converts to this type from the input type.
Source§impl From<MetadataError> for RedrawError
impl From<MetadataError> for RedrawError
Source§fn from(source: MetadataError) -> Self
fn from(source: MetadataError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RedrawError
impl PartialEq for RedrawError
impl StructuralPartialEq for RedrawError
Auto Trait Implementations§
impl Freeze for RedrawError
impl RefUnwindSafe for RedrawError
impl Send for RedrawError
impl Sync for RedrawError
impl Unpin for RedrawError
impl UnsafeUnpin for RedrawError
impl UnwindSafe for RedrawError
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