Enum sudoku::ParseError [] [src]

pub enum ParseError {
    InvalidLineLength(u8),
    InvalidNumber(u8char),
    NotEnoughRows,
}

A structure representing an error caused when parsing the sudoku

Variants

Error caused when the lenght of the parsed line was not 9

Error caused when a character is found which is not a number between 1 and 9 or a '_'

Error caused when the input has a number of rows lower than 9

Trait Implementations

impl Clone for ParseError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ParseError
[src]

Formats the value using the given formatter.

impl Eq for ParseError
[src]

impl Hash for ParseError
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl PartialEq for ParseError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Display for ParseError
[src]

Formats the value using the given formatter. Read more