pub enum MemoryAllocationMode {
Auto,
Persistent,
}Expand description
The mode of allocation used.
Variants§
Auto
Use the automatic memory management strategy for allocation.
Persistent
Use a persistent memory management strategy, meaning that all allocations are for data that is likely never going to be freed.
Trait Implementations§
Source§impl Clone for MemoryAllocationMode
impl Clone for MemoryAllocationMode
impl Copy for MemoryAllocationMode
Source§impl Debug for MemoryAllocationMode
impl Debug for MemoryAllocationMode
Auto Trait Implementations§
impl Freeze for MemoryAllocationMode
impl RefUnwindSafe for MemoryAllocationMode
impl Send for MemoryAllocationMode
impl Sync for MemoryAllocationMode
impl Unpin for MemoryAllocationMode
impl UnsafeUnpin for MemoryAllocationMode
impl UnwindSafe for MemoryAllocationMode
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