write_record

Function write_record 

Source
pub async fn write_record<W: RecordWriter>(
    writer: &mut W,
    target: u32,
    generation: u32,
    record: RecordRef<'_>,
) -> Result<(), CommitError<W::Error>>
Expand description

Write one committed record. Failure leaves any previously committed record untouched: the body lands first and the commit word last, so a mount never selects a partial write.