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
message: String
Error message
given: Range<usize>
The range requested by the user
Trait Implementations
impl Debug for IndexError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for IndexError
[src]
fn eq(&self, __arg_0: &IndexError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &IndexError) -> bool
[src]
This method tests for !=
.
impl Eq for IndexError
[src]
impl From<IndexError> for Error
[src]
fn from(error: IndexError) -> Self
[src]
Performs the conversion.