pub struct MemoryCatalogDescription { /* private fields */ }Expand description
MemoryCatalogDescription
One runtime-registered stable-memory allocation entry for SHOW MEMORY.
Implementations§
Source§impl MemoryCatalogDescription
impl MemoryCatalogDescription
Sourcepub const fn new(
tag: String,
memory_id: u8,
store_path: String,
) -> MemoryCatalogDescription
pub const fn new( tag: String, memory_id: u8, store_path: String, ) -> MemoryCatalogDescription
Construct one memory catalog entry.
Sourcepub const fn store_path(&self) -> &str
pub const fn store_path(&self) -> &str
Owning store path.
Trait Implementations§
Source§impl Clone for MemoryCatalogDescription
impl Clone for MemoryCatalogDescription
Source§fn clone(&self) -> MemoryCatalogDescription
fn clone(&self) -> MemoryCatalogDescription
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 MemoryCatalogDescription
impl Debug for MemoryCatalogDescription
Source§impl<'de> Deserialize<'de> for MemoryCatalogDescription
impl<'de> Deserialize<'de> for MemoryCatalogDescription
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MemoryCatalogDescription, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MemoryCatalogDescription, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MemoryCatalogDescription
Source§impl PartialEq for MemoryCatalogDescription
impl PartialEq for MemoryCatalogDescription
impl StructuralPartialEq for MemoryCatalogDescription
Auto Trait Implementations§
impl Freeze for MemoryCatalogDescription
impl RefUnwindSafe for MemoryCatalogDescription
impl Send for MemoryCatalogDescription
impl Sync for MemoryCatalogDescription
impl Unpin for MemoryCatalogDescription
impl UnsafeUnpin for MemoryCatalogDescription
impl UnwindSafe for MemoryCatalogDescription
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.