pub trait WriteGrib2MessageIterL3 {
type S4<'a>: WriteGrib2ProductDef
where Self: 'a;
type SD<'a>: WriteGrib2PointValues
where Self: 'a;
// Required methods
fn section4(&self) -> &Self::S4<'_>;
fn data_sections(&self) -> &Self::SD<'_>;
// Provided methods
fn num_octets(&self) -> usize { ... }
fn write(&self, buf: &mut [u8]) -> Result<usize, &'static str> { ... }
}Expand description
A functionality to write elements of the L3 iterator in a GRIB2 message.
This trait works in conjunction with WriteGrib2Message,
WriteGrib2MessageIterL1, and WriteGrib2MessageIterL2 to write the
message.
Required Associated Types§
type S4<'a>: WriteGrib2ProductDef where Self: 'a
type SD<'a>: WriteGrib2PointValues where Self: 'a
Required Methods§
Provided Methods§
fn num_octets(&self) -> usize
fn write(&self, buf: &mut [u8]) -> Result<usize, &'static str>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".