pub struct ExternRef {
pub hash: [u8; 32],
pub len: u64,
}Expand description
A reference to an externalized value: its BLAKE3 content hash and length. This is what lives inline in the B-tree in place of the bytes; L2 resolves the hash to the chunk(s) holding the real data.
Fields§
§hash: [u8; 32]BLAKE3 hash of the externalized bytes (MATA’s content-address function).
len: u64Length of the externalized bytes.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ExternRef
impl<'de> Deserialize<'de> for ExternRef
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ExternRef
impl StructuralPartialEq for ExternRef
Auto Trait Implementations§
impl Freeze for ExternRef
impl RefUnwindSafe for ExternRef
impl Send for ExternRef
impl Sync for ExternRef
impl Unpin for ExternRef
impl UnsafeUnpin for ExternRef
impl UnwindSafe for ExternRef
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