pub enum MemoryAllocationBinding {
Current {
stable_key: String,
owner: String,
},
Ledger {
stable_key: String,
owner: String,
},
Unknown,
}Expand description
Current binding of a physical slot; this grants no opening authority.
Variants§
Current
A declaration bound by successful runtime bootstrap.
Ledger
Reserved allocation ledger; its payload is not inspected here.
Unknown
No current binding is available; historical ownership is not decoded.
Trait Implementations§
Source§impl CandidType for MemoryAllocationBinding
impl CandidType for MemoryAllocationBinding
Source§impl Clone for MemoryAllocationBinding
impl Clone for MemoryAllocationBinding
Source§impl Debug for MemoryAllocationBinding
impl Debug for MemoryAllocationBinding
Source§impl<'de> Deserialize<'de> for MemoryAllocationBinding
impl<'de> Deserialize<'de> for MemoryAllocationBinding
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 MemoryAllocationBinding
Source§impl PartialEq for MemoryAllocationBinding
impl PartialEq for MemoryAllocationBinding
impl StructuralPartialEq for MemoryAllocationBinding
Auto Trait Implementations§
impl Freeze for MemoryAllocationBinding
impl RefUnwindSafe for MemoryAllocationBinding
impl Send for MemoryAllocationBinding
impl Sync for MemoryAllocationBinding
impl Unpin for MemoryAllocationBinding
impl UnsafeUnpin for MemoryAllocationBinding
impl UnwindSafe for MemoryAllocationBinding
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