Skip to main content

WriteGrib2PointValues

Trait WriteGrib2PointValues 

Source
pub trait WriteGrib2PointValues {
    // Required methods
    fn data_sections_len(&self) -> usize;
    fn write_data_sections(&self, buf: &mut [u8]) -> Result<usize, &'static str>;
}
Expand description

A functionality to write the byte sequence of Section 5 (Data Representation Section), Section 6 (Bit-map section), and Section 7 (Data Section) of a GRIB2 message.

Required Methods§

Source

fn data_sections_len(&self) -> usize

Source

fn write_data_sections(&self, buf: &mut [u8]) -> Result<usize, &'static str>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§