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
Substrate-reserved ledger slot, not evidence of a validated ledger payload.
Unknown
No current binding is available; historical ownership is not decoded.
Trait Implementations§
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
Source§impl Serialize for MemoryAllocationBinding
impl Serialize for MemoryAllocationBinding
impl StructuralPartialEq for MemoryAllocationBinding
Source§impl Wire for MemoryAllocationBindingwhere
Self: Serialize,
Available on non-target_family=wasm only.
impl Wire for MemoryAllocationBindingwhere
Self: Serialize,
Available on non-
target_family=wasm only.Source§fn native_schema(
__ic_wire_schema: &mut SchemaContext,
) -> Result<Value, GenerationError>
fn native_schema( __ic_wire_schema: &mut SchemaContext, ) -> Result<Value, GenerationError>
Describe the serialized shape using the existing registry metadata grammar.
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