Skip to main content

write_record

Function write_record 

Source
pub fn write_record(
    output: &mut impl Write,
    data: &[u8],
    format: RecordFormat,
) -> Result<()>
Expand description

Write one record using the selected framing format.

ยงErrors

Returns an error when the delegated framing write fails.