#[non_exhaustive]pub struct ObjPhys {
pub cksum: u64,
pub oid: u64,
pub xid: u64,
pub obj_type_raw: u32,
pub subtype: u32,
}Expand description
A parsed object header.
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.cksum: u64Stored Fletcher-64 checksum (o_cksum).
oid: u64Object identifier (o_oid) — for a physical object, its block address.
xid: u64Transaction identifier (o_xid).
obj_type_raw: u32Raw o_type (type + storage/flag bits).
subtype: u32o_subtype.
Implementations§
Source§impl ObjPhys
impl ObjPhys
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ObjPhys
impl RefUnwindSafe for ObjPhys
impl Send for ObjPhys
impl Sync for ObjPhys
impl Unpin for ObjPhys
impl UnsafeUnpin for ObjPhys
impl UnwindSafe for ObjPhys
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