Enum sudoku::parse_errors::BlockFormatParseError [] [src]

pub enum BlockFormatParseError {
    InvalidEntry(PubEntry),
    InvalidLineLength(u8),
    NotEnoughRows(u8),
    IncorrectFieldDelimiter,
    TooManyRows,
    MissingCommentDelimiter(u8),
}

A structure representing an error caused when parsing the sudoku

Variants

Non-digit, non-placeholder encountered. Field delimiters chars in unexpected places also cause this

Line contains (>9 valid entries) or (<9 and no invalids) Returns index of row (0-8)

Input ends with less than 9 rows. Returns number of rows encountered.

If field delimiter is in place after 3rd number in 1st row all other horizontal and vertical field delimiters must be present or this is emitted

More than 9 lines are supplied and the 10th line is not pure whitespace

Non-digit, non-placeholder after completed line encountered but without space

Trait Implementations

impl Clone for BlockFormatParseError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for BlockFormatParseError
[src]

[src]

Formats the value using the given formatter.

impl Eq for BlockFormatParseError
[src]

impl Hash for BlockFormatParseError
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for BlockFormatParseError
[src]

[src]

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

[src]

This method tests for !=.