pub enum MemoryAllocationState {
Reserved,
Active,
Retired,
}Expand description
MemoryAllocationState
Variants§
Trait Implementations§
Source§impl CandidType for MemoryAllocationState
impl CandidType for MemoryAllocationState
Source§impl Clone for MemoryAllocationState
impl Clone for MemoryAllocationState
Source§fn clone(&self) -> MemoryAllocationState
fn clone(&self) -> MemoryAllocationState
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 MemoryAllocationState
impl Debug for MemoryAllocationState
Source§impl<'de> Deserialize<'de> for MemoryAllocationState
impl<'de> Deserialize<'de> for MemoryAllocationState
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
Source§impl PartialEq for MemoryAllocationState
impl PartialEq for MemoryAllocationState
Source§fn eq(&self, other: &MemoryAllocationState) -> bool
fn eq(&self, other: &MemoryAllocationState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MemoryAllocationState
impl Eq for MemoryAllocationState
impl StructuralPartialEq for MemoryAllocationState
Auto Trait Implementations§
impl Freeze for MemoryAllocationState
impl RefUnwindSafe for MemoryAllocationState
impl Send for MemoryAllocationState
impl Sync for MemoryAllocationState
impl Unpin for MemoryAllocationState
impl UnsafeUnpin for MemoryAllocationState
impl UnwindSafe for MemoryAllocationState
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