pub struct LinkInfoMessage {
pub max_creation_order: Option<u64>,
pub fractal_heap_address: u64,
pub name_btree_address: u64,
pub creation_order_btree_address: Option<u64>,
}Expand description
Link info message payload.
Fields§
§max_creation_order: Option<u64>Maximum creation order value (present if tracking creation order).
fractal_heap_address: u64Fractal heap address for link name storage. UNDEF_ADDR for compact groups.
name_btree_address: u64Name-index B-tree v2 address. UNDEF_ADDR for compact groups.
creation_order_btree_address: Option<u64>Creation-order B-tree v2 address (present only when creation order is indexed).
Implementations§
Source§impl LinkInfoMessage
impl LinkInfoMessage
Sourcepub fn compact_with_creation_order() -> Self
pub fn compact_with_creation_order() -> Self
A compact link info that tracks creation order.
pub fn encode(&self, ctx: &FormatContext) -> Vec<u8> ⓘ
pub fn decode(buf: &[u8], ctx: &FormatContext) -> FormatResult<(Self, usize)>
Trait Implementations§
Source§impl Clone for LinkInfoMessage
impl Clone for LinkInfoMessage
Source§fn clone(&self) -> LinkInfoMessage
fn clone(&self) -> LinkInfoMessage
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 LinkInfoMessage
impl Debug for LinkInfoMessage
Source§impl PartialEq for LinkInfoMessage
impl PartialEq for LinkInfoMessage
Source§fn eq(&self, other: &LinkInfoMessage) -> bool
fn eq(&self, other: &LinkInfoMessage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LinkInfoMessage
Auto Trait Implementations§
impl Freeze for LinkInfoMessage
impl RefUnwindSafe for LinkInfoMessage
impl Send for LinkInfoMessage
impl Sync for LinkInfoMessage
impl Unpin for LinkInfoMessage
impl UnsafeUnpin for LinkInfoMessage
impl UnwindSafe for LinkInfoMessage
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