pub struct LedgerSnapshot {
pub authorities: Vec<MemoryRangeAuthority>,
pub ranges: Vec<(String, MemoryRange)>,
pub entries: Vec<(u8, MemoryRegistryEntry)>,
}Expand description
LedgerSnapshot
Read-only snapshot of the persisted ABI ledger.
Fields§
Canonical allocation authority ranges recorded by the persisted ABI ledger.
ranges: Vec<(String, MemoryRange)>Historical owner ranges recorded by the persisted ABI ledger.
entries: Vec<(u8, MemoryRegistryEntry)>Historical memory ID records recorded by the persisted ABI ledger.
Trait Implementations§
Source§impl Clone for LedgerSnapshot
impl Clone for LedgerSnapshot
Source§fn clone(&self) -> LedgerSnapshot
fn clone(&self) -> LedgerSnapshot
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 LedgerSnapshot
impl Debug for LedgerSnapshot
Source§impl PartialEq for LedgerSnapshot
impl PartialEq for LedgerSnapshot
Source§fn eq(&self, other: &LedgerSnapshot) -> bool
fn eq(&self, other: &LedgerSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LedgerSnapshot
impl StructuralPartialEq for LedgerSnapshot
Auto Trait Implementations§
impl Freeze for LedgerSnapshot
impl RefUnwindSafe for LedgerSnapshot
impl Send for LedgerSnapshot
impl Sync for LedgerSnapshot
impl Unpin for LedgerSnapshot
impl UnsafeUnpin for LedgerSnapshot
impl UnwindSafe for LedgerSnapshot
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