pub enum AllocationClass {
Container,
Metadata,
}Expand description
Classification within one allowance, never a second resource limit.
Variants§
Trait Implementations§
Source§impl Clone for AllocationClass
impl Clone for AllocationClass
Source§fn clone(&self) -> AllocationClass
fn clone(&self) -> AllocationClass
Returns a duplicate of the value. Read more
1.0.0 · 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 AllocationClass
impl Debug for AllocationClass
Source§impl Default for AllocationClass
impl Default for AllocationClass
Source§fn default() -> AllocationClass
fn default() -> AllocationClass
Returns the “default value” for a type. Read more
Source§impl PartialEq for AllocationClass
impl PartialEq for AllocationClass
impl Copy for AllocationClass
impl Eq for AllocationClass
impl StructuralPartialEq for AllocationClass
Auto Trait Implementations§
impl Freeze for AllocationClass
impl RefUnwindSafe for AllocationClass
impl Send for AllocationClass
impl Sync for AllocationClass
impl Unpin for AllocationClass
impl UnwindSafe for AllocationClass
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