pub enum ParseError {
IO(Error),
Deserialize(Box<ErrorKind>),
Parse(String),
}
Expand description
Represents an error encountered while parsing a DDS file
Variants§
Trait Implementations§
Source§impl Debug for ParseError
impl Debug for ParseError
Source§impl<'a> From<&'a str> for ParseError
impl<'a> From<&'a str> for ParseError
Source§fn from(err: &'a str) -> ParseError
fn from(err: &'a str) -> ParseError
Converts to this type from the input type.
Source§impl From<Error> for ParseError
impl From<Error> for ParseError
Source§fn from(err: Error) -> ParseError
fn from(err: Error) -> ParseError
Converts to this type from the input type.
Source§impl From<String> for ParseError
impl From<String> for ParseError
Source§fn from(err: String) -> ParseError
fn from(err: String) -> ParseError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ParseError
impl !RefUnwindSafe for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Unpin for ParseError
impl !UnwindSafe for ParseError
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