async fn write(&self, offset: u64, buf: BufferRef<'_>) -> Result<(), Error> {
        let mut transaction = self.new_transaction().await?;
        self.txn_write(&mut transaction, offset, buf).await?;
        transaction.commit().await?;
        Ok(())
    }
/// Performs a write within a transaction.
Performs a write within a transaction.
Performs a write within a transaction .
async fn write(&self, offset: u64, buf: BufferRef<'_>) -> Result<(), Error> {
        let mut transaction = self.new_transaction().await?;
        self.txn_write(&mut transaction, offset, buf).await?;
        transaction.commit().await?;
        Ok(())
    }
async fn write ( & self , offset : u64 , buf : BufferRef < ' _ > ) -> Result < ( ) , Error > { let mut transaction = self . new_transaction ( ) . await ? ; self . txn_write ( & mut transaction , offset , buf ) . await ? ; transaction . commit ( ) . await ? ; Ok ( ( ) ) }
Performs a write within a transaction.
Performs a write within a transaction .
&self
offset
u64
buf
BufferRef<'_>
&self
offset
u64
buf
BufferRef<'_>