Enum json_pointer::IndexError [] [src]

pub enum IndexError {
    NoSuchKey(String),
    NotIndexable,
    OutOfBounds(usize),
}

An error that can be encountered when indexing using a JSON pointer.

Variants

The pointer pointed to a nonexistent key.

The pointer resulted in trying to index a non-indexable type.

The pointer pointed to an out-of-bounds value in an array.

Trait Implementations

impl Clone for IndexError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for IndexError
[src]

Formats the value using the given formatter.

impl PartialEq for IndexError
[src]

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

This method tests for !=.