pub struct JournaledBlock {
pub fs_block: u64,
pub bytes: Vec<u8>,
}Expand description
One buffered write the transaction will journal.
Fields§
§fs_block: u64Target fs block (absolute — the same value that will end up in the
descriptor tag’s t_blocknr).
bytes: Vec<u8>Full block contents (must be exactly block_size bytes).
Trait Implementations§
Source§impl Clone for JournaledBlock
impl Clone for JournaledBlock
Source§impl Debug for JournaledBlock
impl Debug for JournaledBlock
impl Eq for JournaledBlock
Source§impl PartialEq for JournaledBlock
impl PartialEq for JournaledBlock
impl StructuralPartialEq for JournaledBlock
Auto Trait Implementations§
impl Freeze for JournaledBlock
impl RefUnwindSafe for JournaledBlock
impl Send for JournaledBlock
impl Sync for JournaledBlock
impl Unpin for JournaledBlock
impl UnsafeUnpin for JournaledBlock
impl UnwindSafe for JournaledBlock
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