Enum pwgraster::StreamError [] [src]

pub enum StreamError {
    HeaderError(Error),
    IO(Error),
    BadSyncWord,
    LineOverflow,
    HeightOverflow,
    UnsupportedBpp,
}

Variants

Decoding a header field failed

Error from Read or Write

Initial sync word != PWG_SYNC_WORD

Pixel repeat exceeded line length

Line repeat exceeded image height

bpp is not 1 or a multiple of 8

Trait Implementations

impl Debug for StreamError
[src]

Formats the value using the given formatter.

impl From<Error> for StreamError
[src]

Performs the conversion.

impl From<Error> for StreamError
[src]

Performs the conversion.