Skip to main content

WriteGrib2ProductDef

Trait WriteGrib2ProductDef 

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

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

Required Methods§

Source

fn section4_len(&self) -> usize

Source

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