Struct fitsio::errors::IndexError [] [src]

pub struct IndexError {
    pub message: String,
    pub given: Range<usize>,
}

Error raised when the user requests invalid indexes for data

Fields

Error message

The range requested by the user

Trait Implementations

impl Debug for IndexError
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for IndexError
[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 Eq for IndexError
[src]

impl From<IndexError> for Error
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for IndexError

impl Sync for IndexError