Enum rubbl_fits::LowLevelFitsItem[][src]

pub enum LowLevelFitsItem<'a> {
    Header(&'a [u8]),
    EndOfHeaders(usize),
    Data(&'a [u8]),
    SpecialRecordData(&'a [u8]),
}

A chunk of FITS file data, as produced by our low-level decoder.

Variants

Header(&'a [u8])

A single header entry. The value of this variant is an 80-byte record representing a single FITS header keyword entry.

EndOfHeaders(usize)

An item representing the end of the headers in the current HDU. Data bytes may follow, but not necessarily. The value of this variant is the number of data bytes that will follow.

Data(&'a [u8])

A chunk of data. The value of this variant is a chunk of unprocessed data bytes, no more than 2880 bytes long.

SpecialRecordData(&'a [u8])

A chunk of “special record” data that follows the HDUs. Modern FITS files do not include these. Once special records are encountered, no more HDUs will be detected. The value of this variant is a chunk of this special record data that is exactly 2880 bytes in size.

Trait Implementations

impl<'a> Clone for LowLevelFitsItem<'a>[src]

impl<'a> Debug for LowLevelFitsItem<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for LowLevelFitsItem<'a>

impl<'a> Send for LowLevelFitsItem<'a>

impl<'a> Sync for LowLevelFitsItem<'a>

impl<'a> Unpin for LowLevelFitsItem<'a>

impl<'a> UnwindSafe for LowLevelFitsItem<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.