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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more