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§
fn section4_len(&self) -> usize
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".