#[non_exhaustive]pub struct OmapEntry {
pub oid: u64,
pub xid: u64,
pub paddr: u64,
pub size: u32,
pub flags: u32,
}Expand description
A resolved object-map entry (omap_val_t for a matched omap_key_t).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.oid: u64Virtual object id (ok_oid).
xid: u64Transaction id of this mapping (ok_xid).
paddr: u64Physical block address the virtual oid resolves to (ov_paddr).
size: u32ov_size (object size in bytes; one block for most objects).
flags: u32ov_flags.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OmapEntry
impl RefUnwindSafe for OmapEntry
impl Send for OmapEntry
impl Sync for OmapEntry
impl Unpin for OmapEntry
impl UnsafeUnpin for OmapEntry
impl UnwindSafe for OmapEntry
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