Enum xcur::parser::ParseError [] [src]

pub enum ParseError<'a> {
    NomError(Err<&'a [u8], u32>),
    InvalidHeader(&'static str),
    InvalidCommentVersion,
    InvalidImageVersion,
    InvalidImageWidth,
    InvalidImageHeight,
    InvalidImageXHot,
    InvalidImageYHot,
    InvalidTOC,
}

Represents an error when parsing an XCursor file

Variants

A nom error

Invalid header

Invalid comment version in file

Invalid image version in file

Invalid image width

Invalid image height

Invalid image X hot

Invalid image X hot

Invalid TableOfContents type

Trait Implementations

impl<'a> Debug for ParseError<'a>
[src]

Formats the value using the given formatter.

impl<'a> From<Err<&'a [u8], u32>> for ParseError<'a>
[src]

Performs the conversion.

impl<'a> Display for ParseError<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> Error for ParseError<'a>
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more