Skip to main content

WriteGrib2GridDef

Trait WriteGrib2GridDef 

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

A functionality to write the byte sequence of Section 3 (Grid Definition Section) of a GRIB2 message.

Required Methods§

Source

fn section3_len(&self) -> usize

Source

fn write_section3(&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§