pub enum DiffError {
Ttlib(Error),
Io(Error),
External(String),
Message(String),
}Expand description
The errors of fontTools.diff.
Variants§
Ttlib(Error)
An error reading or dumping a font.
Io(Error)
A file could not be read or written, or a program run.
External(String)
What the external diff tool wrote to standard error (IOError(err)).
Message(String)
Another error.
Trait Implementations§
Source§impl Error for DiffError
impl Error for DiffError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for DiffError
impl !UnwindSafe for DiffError
impl Forget for DiffError
impl Freeze for DiffErrorwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const Error is !null: Freeze,
PhantomData<Error>: Freeze,
*const OverflowErrorRecord is !null: Freeze,
PhantomData<OverflowErrorRecord>: Freeze,
*const () is !null: Freeze,
PhantomData<ErrorData<CustomOwner>>: Freeze,
impl Move for DiffError
impl Send for DiffError
impl Sync for DiffError
impl Unpin for DiffError
impl UnsafeUnpin for DiffErrorwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const Error is !null: UnsafeUnpin,
PhantomData<Error>: UnsafeUnpin,
*const OverflowErrorRecord is !null: UnsafeUnpin,
PhantomData<OverflowErrorRecord>: UnsafeUnpin,
*const () is !null: UnsafeUnpin,
PhantomData<ErrorData<CustomOwner>>: UnsafeUnpin,
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