Struct write_journal::Transaction
source · 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 !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