pub struct BlockInfo {
pub bnum: u64,
pub bsize: u32,
pub next: u32,
}Expand description
One decoded block_info entry describing where a journaled block lands.
Fields§
§bnum: u64Target block number on the filesystem device (multiply by jhdr_size
for a byte offset relative to the partition). u64::MAX = killed.
bsize: u32Size of this block in bytes.
next: u32For binfo[0]: the transaction sequence number. For data blocks: the
per-block checksum (only meaningful when BLHDR_CHECK_CHECKSUMS).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BlockInfo
impl RefUnwindSafe for BlockInfo
impl Send for BlockInfo
impl Sync for BlockInfo
impl Unpin for BlockInfo
impl UnsafeUnpin for BlockInfo
impl UnwindSafe for BlockInfo
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