pub enum ReadFitsKeyError {
NotFound,
InvalidFormat,
}Expand description
A failure to parse a FITS key from the header
Counterpart to ReadPropertyError
Variants§
NotFound
Could not find a FITS key with the given name
InvalidFormat
Failed to parse the FITS key into the requested type
Trait Implementations§
Source§impl Clone for ReadFitsKeyError
impl Clone for ReadFitsKeyError
Source§fn clone(&self) -> ReadFitsKeyError
fn clone(&self) -> ReadFitsKeyError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReadFitsKeyError
impl Debug for ReadFitsKeyError
Source§impl Display for ReadFitsKeyError
impl Display for ReadFitsKeyError
Source§impl Error for ReadFitsKeyError
impl Error for ReadFitsKeyError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for ReadFitsKeyError
impl PartialEq for ReadFitsKeyError
impl Copy for ReadFitsKeyError
impl StructuralPartialEq for ReadFitsKeyError
Auto Trait Implementations§
impl Freeze for ReadFitsKeyError
impl RefUnwindSafe for ReadFitsKeyError
impl Send for ReadFitsKeyError
impl Sync for ReadFitsKeyError
impl Unpin for ReadFitsKeyError
impl UnwindSafe for ReadFitsKeyError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more