#[repr(C)]pub struct Header { /* private fields */ }Expand description
Header for an Archive II volume file containing metadata about the radar data. This header is located at the beginning of the file.
Implementations§
Source§impl Header
impl Header
Sourcepub fn deserialize<R: Read>(reader: &mut R) -> Result<Self>
pub fn deserialize<R: Read>(reader: &mut R) -> Result<Self>
Deserializes an Archive II header from the provided reader.
Sourcepub fn tape_filename(&self) -> Option<String>
pub fn tape_filename(&self) -> Option<String>
The tape’s filename which indicates the version of the data. Name is in the format
AR2V0 0xx. where xx indicates the version of the data.
Versions: 02 = Super Resolution disabled at the RDA (pre RDA Build 12.0) 03 = Super Resolution (pre RDA Build 12.0) 04 = Recombined Super Resolution 05 = Super Resolution disabled at the RDA (RDA Build 12.0 and later) 06 = Super Resolution (RDA Build 12.0 and later) 07 = Recombined Super Resolution (RDA Build 12.0 and later) NOTE: Dual-pol data introduced in RDA Build 12.0
Sourcepub fn extension_number(&self) -> Option<String>
pub fn extension_number(&self) -> Option<String>
Sequential number assigned to each volume of radar data in the queue, rolling over to 001 after 999.
Sourcepub fn icao_of_radar(&self) -> Option<String>
pub fn icao_of_radar(&self) -> Option<String>
The ICAO identifier of the radar site.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Header
impl<'de> Deserialize<'de> for Header
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for Header
impl StructuralPartialEq for Header
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.