Function tfrecord::io::async_::try_write_record[][src]

pub async fn try_write_record<W>(
    writer: &mut W,
    bytes: Vec<u8>
) -> Result<(), Error> where
    W: AsyncWriteExt + Unpin

async/await version analogous to blocking try_write_record.