pub enum AllocationBinding {
Current {
stable_key: String,
owner: String,
},
Ledger {
stable_key: String,
owner: String,
},
Unknown,
}Expand description
AllocationBinding
Source of a stable-key binding. Unknown includes retired or absent current declarations: this report never recovers historical ownership. The ledger variant identifies the substrate-reserved slot, not validation of its payload.
Variants§
Current
A declaration bound by this runtime’s successful bootstrap.
Ledger
The ic-memory ledger’s reserved allocation.
Unknown
No current stable-key binding is known; this does not mean unused.
Trait Implementations§
Source§impl Clone for AllocationBinding
impl Clone for AllocationBinding
Source§fn clone(&self) -> AllocationBinding
fn clone(&self) -> AllocationBinding
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 AllocationBinding
impl Debug for AllocationBinding
impl Eq for AllocationBinding
Source§impl PartialEq for AllocationBinding
impl PartialEq for AllocationBinding
Source§impl Serialize for AllocationBinding
impl Serialize for AllocationBinding
impl StructuralPartialEq for AllocationBinding
Auto Trait Implementations§
impl Freeze for AllocationBinding
impl RefUnwindSafe for AllocationBinding
impl Send for AllocationBinding
impl Sync for AllocationBinding
impl Unpin for AllocationBinding
impl UnsafeUnpin for AllocationBinding
impl UnwindSafe for AllocationBinding
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