pub struct StoreAllocationIdentity { /* private fields */ }Expand description
StoreAllocationIdentity
Durable allocation identity for one physical stable-memory role.
Implementations§
Source§impl StoreAllocationIdentity
impl StoreAllocationIdentity
Sourcepub fn from_committed_key(
stable_key: &'static str,
) -> Result<Self, RuntimeOpenError>
pub fn from_committed_key( stable_key: &'static str, ) -> Result<Self, RuntimeOpenError>
Resolve one logical allocation after host bootstrap has committed it.
Sourcepub const fn new(memory_id: u8, stable_key: &'static str) -> Self
pub const fn new(memory_id: u8, stable_key: &'static str) -> Self
Build one stable allocation identity descriptor.
Sourcepub const fn stable_key(self) -> &'static str
pub const fn stable_key(self) -> &'static str
Durable stable-memory key.
Trait Implementations§
Source§impl Clone for StoreAllocationIdentity
impl Clone for StoreAllocationIdentity
impl Copy for StoreAllocationIdentity
Source§impl Debug for StoreAllocationIdentity
impl Debug for StoreAllocationIdentity
impl Eq for StoreAllocationIdentity
Source§impl PartialEq for StoreAllocationIdentity
impl PartialEq for StoreAllocationIdentity
impl StructuralPartialEq for StoreAllocationIdentity
Auto Trait Implementations§
impl Freeze for StoreAllocationIdentity
impl RefUnwindSafe for StoreAllocationIdentity
impl Send for StoreAllocationIdentity
impl Sync for StoreAllocationIdentity
impl Unpin for StoreAllocationIdentity
impl UnsafeUnpin for StoreAllocationIdentity
impl UnwindSafe for StoreAllocationIdentity
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