Enum allsorts::subset::SubsetError
source · pub enum SubsetError {
Parse(ParseError),
Write(WriteError),
CFF(CFFError),
}
Expand description
Error type returned from subsetting.
Variants§
Parse(ParseError)
An error occurred reading or parsing data.
Write(WriteError)
An error occurred serializing data.
CFF(CFFError)
An error occurred when interpreting CFF CharStrings
Trait Implementations§
source§impl Debug for SubsetError
impl Debug for SubsetError
source§impl Display for SubsetError
impl Display for SubsetError
source§impl Error for SubsetError
impl Error for SubsetError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<CFFError> for SubsetError
impl From<CFFError> for SubsetError
source§fn from(err: CFFError) -> SubsetError
fn from(err: CFFError) -> SubsetError
Converts to this type from the input type.
source§impl From<ParseError> for SubsetError
impl From<ParseError> for SubsetError
source§fn from(err: ParseError) -> SubsetError
fn from(err: ParseError) -> SubsetError
Converts to this type from the input type.
source§impl From<ReadWriteError> for SubsetError
impl From<ReadWriteError> for SubsetError
source§fn from(err: ReadWriteError) -> SubsetError
fn from(err: ReadWriteError) -> SubsetError
Converts to this type from the input type.
source§impl From<WriteError> for SubsetError
impl From<WriteError> for SubsetError
source§fn from(err: WriteError) -> SubsetError
fn from(err: WriteError) -> SubsetError
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for SubsetError
impl Send for SubsetError
impl Sync for SubsetError
impl Unpin for SubsetError
impl UnwindSafe for SubsetError
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