pub enum ParameterTableSource {
Grib1 {
table_version: u8,
},
Wmo,
Local {
center_id: u16,
subcenter_id: u16,
local_table_version: u8,
},
UnknownLocal {
center_id: u16,
subcenter_id: u16,
local_table_version: u8,
},
Unknown,
}Expand description
Source table used to resolve a parameter name.
Variants§
Grib1
GRIB1 parameter table.
Wmo
WMO GRIB2 Code Table 4.2.
Local
Center-specific GRIB2 local table.
UnknownLocal
A GRIB2 local-use code without a matching local table entry.
Unknown
No WMO or local table entry matched this parameter.
Trait Implementations§
Source§impl Clone for ParameterTableSource
impl Clone for ParameterTableSource
Source§fn clone(&self) -> ParameterTableSource
fn clone(&self) -> ParameterTableSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ParameterTableSource
Source§impl Debug for ParameterTableSource
impl Debug for ParameterTableSource
impl Eq for ParameterTableSource
Source§impl PartialEq for ParameterTableSource
impl PartialEq for ParameterTableSource
Source§fn eq(&self, other: &ParameterTableSource) -> bool
fn eq(&self, other: &ParameterTableSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParameterTableSource
Auto Trait Implementations§
impl Freeze for ParameterTableSource
impl RefUnwindSafe for ParameterTableSource
impl Send for ParameterTableSource
impl Sync for ParameterTableSource
impl Unpin for ParameterTableSource
impl UnsafeUnpin for ParameterTableSource
impl UnwindSafe for ParameterTableSource
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