pub struct AttributeInfoMessage {
pub max_creation_index: Option<u16>,
pub fractal_heap_address: Option<u64>,
pub btree_name_index_address: Option<u64>,
pub btree_creation_order_address: Option<u64>,
}Expand description
Parsed Attribute Info message from an object header.
Fields§
§max_creation_index: Option<u16>Maximum creation order index (if creation-order tracking is enabled).
fractal_heap_address: Option<u64>Address of the fractal heap storing attribute messages.
btree_name_index_address: Option<u64>Address of B-tree v2 (type 8) for name-ordered attribute index.
btree_creation_order_address: Option<u64>Address of B-tree v2 (type 9) for creation-order attribute index.
Implementations§
Source§impl AttributeInfoMessage
impl AttributeInfoMessage
Sourcepub fn parse(
data: &[u8],
offset_size: u8,
) -> Result<AttributeInfoMessage, FormatError>
pub fn parse( data: &[u8], offset_size: u8, ) -> Result<AttributeInfoMessage, FormatError>
Parse an Attribute Info message from raw message data.
Layout: version(1) + flags(1) + [max_creation_index(2)] + fractal_heap_address(os) + btree_name_index(os) + [btree_creation_order(os)]
Trait Implementations§
Source§impl Clone for AttributeInfoMessage
impl Clone for AttributeInfoMessage
Source§fn clone(&self) -> AttributeInfoMessage
fn clone(&self) -> AttributeInfoMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AttributeInfoMessage
impl Debug for AttributeInfoMessage
Source§impl PartialEq for AttributeInfoMessage
impl PartialEq for AttributeInfoMessage
impl StructuralPartialEq for AttributeInfoMessage
Auto Trait Implementations§
impl Freeze for AttributeInfoMessage
impl RefUnwindSafe for AttributeInfoMessage
impl Send for AttributeInfoMessage
impl Sync for AttributeInfoMessage
impl Unpin for AttributeInfoMessage
impl UnsafeUnpin for AttributeInfoMessage
impl UnwindSafe for AttributeInfoMessage
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