Enum bdf::Error [] [src]

pub enum Error {
    IO(Error),
    Parse(ParseIntError),
    MissingVersion,
    MissingBoundingBox,
    MissingValue(String),
    InvalidCodepoint,
    End,
    MalformedFont,
    MalformedProperties,
    MalformedChar,
}

Errors for Reader and Writer.

Variants

A downstream IO error.

A downstream parsing error.

STARTFONT is missing the format version.

There was no bounding box for a character.

An entry is missing a value.

An unknown error.

Eof has been reached.

The font declaration is malformed.

The property declarations are malformed.

The character declaration is malformed.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl From<Error> for Error
[src]

Performs the conversion.

impl From<ParseIntError> for Error
[src]

Performs the conversion.

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

A short description of the error. Read more

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