pub struct Transaction { /* private fields */ }
Implementations§
Source§impl Transaction
impl Transaction
pub fn write<D: Into<TinyBuf>>(&mut self, offset: u64, data: D) -> &mut Self
Sourcepub fn write_with_overlay<D: Into<TinyBuf>>(
&mut self,
offset: u64,
data: D,
) -> &mut Self
pub fn write_with_overlay<D: Into<TinyBuf>>( &mut self, offset: u64, data: D, ) -> &mut Self
WARNING: Use this function with caution, it’s up to the caller to avoid the potential issues with misuse, including logic incorrectness, cache incoherency, and memory leaking. Carefully read notes/Overlay.md before using the overlay.
Auto Trait Implementations§
impl Freeze for Transaction
impl !RefUnwindSafe for Transaction
impl Send for Transaction
impl Sync for Transaction
impl Unpin for Transaction
impl !UnwindSafe for Transaction
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