pub struct EncodeOutput(/* private fields */);Expand description
Data obtained through encoding. Instances are typically used to write GRIB2
data via the methods defined in WriteGrib2DataSections.
Implementations§
Source§impl EncodeOutput
impl EncodeOutput
Sourcepub fn params(&self) -> EncodeOutputParams<'_>
pub fn params(&self) -> EncodeOutputParams<'_>
Returns the parameter set.
Trait Implementations§
Source§impl Debug for EncodeOutput
impl Debug for EncodeOutput
Source§impl WriteGrib2DataSections for EncodeOutput
impl WriteGrib2DataSections for EncodeOutput
Source§fn section5_len(&self) -> usize
fn section5_len(&self) -> usize
Returns the length of the byte sequence in Section 5.
Source§fn write_section5(&self, buf: &mut [u8]) -> Result<usize, &'static str>
fn write_section5(&self, buf: &mut [u8]) -> Result<usize, &'static str>
Writes the byte sequence of Section 5 to the output buffer.
Source§fn section6_len(&self) -> usize
fn section6_len(&self) -> usize
Returns the length of the byte sequence in Section 6.
Source§fn write_section6(&self, buf: &mut [u8]) -> Result<usize, &'static str>
fn write_section6(&self, buf: &mut [u8]) -> Result<usize, &'static str>
Writes the byte sequence of Section 6 to the output buffer.
Source§fn section7_len(&self) -> usize
fn section7_len(&self) -> usize
Returns the length of the byte sequence in Section 7.
Auto Trait Implementations§
impl Freeze for EncodeOutput
impl RefUnwindSafe for EncodeOutput
impl Send for EncodeOutput
impl Sync for EncodeOutput
impl Unpin for EncodeOutput
impl UnsafeUnpin for EncodeOutput
impl UnwindSafe for EncodeOutput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more