pub struct SlabId {
pub ordinal: u64,
pub hash: [u8; 32],
}Expand description
Per-image slab identifier: 8-byte ordinal + 32-byte content hash.
Per §2.2: the ordinal ensures distinct slabs that hash to the same value within one image remain distinguishable. Total width is 40 bytes.
Fields§
§ordinal: u64§hash: [u8; 32]Implementations§
Trait Implementations§
impl Copy for SlabId
impl Eq for SlabId
impl StructuralPartialEq for SlabId
Auto Trait Implementations§
impl Freeze for SlabId
impl RefUnwindSafe for SlabId
impl Send for SlabId
impl Sync for SlabId
impl Unpin for SlabId
impl UnsafeUnpin for SlabId
impl UnwindSafe for SlabId
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