Enum oftlisp::reader::ReadErrorKind [] [src]

pub enum ReadErrorKind {
    Char(StringAcceptSet),
    EOF(AcceptSet),
    Token(StringAcceptSet),
}

The kind of the error.

TODO: There should probably be a separate lexer AcceptSet.

Variants

A character was encountered that was not expected. The first value is the character, the second is a representation of the expected value.

An unexpected EOF was encountered.

A token was encountered that was not expected. The first value is the token, the second is a representation of the expected value.

Trait Implementations

impl Clone for ReadErrorKind
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ReadErrorKind
[src]

[src]

Formats the value using the given formatter.

impl Eq for ReadErrorKind
[src]

impl Finalize for ReadErrorKind
[src]

[src]

impl Hash for ReadErrorKind
[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 ReadErrorKind
[src]

[src]

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

[src]

This method tests for !=.

impl Trace for ReadErrorKind
[src]

[src]

Marks all contained Gcs.

[src]

Increments the root-count of all contained Gcs.

[src]

Decrements the root-count of all contained Gcs.

[src]

Runs Finalize::finalize() on this object and all contained subobjects Read more

impl Drop for ReadErrorKind
[src]

[src]

Executes the destructor for this type. Read more

impl Display for ReadErrorKind
[src]

[src]

Formats the value using the given formatter. Read more