pub enum PhysicalMemoryAccounting {
Buffer,
Backing {
authority: MemoryAuthorityId,
},
}Expand description
Who charges physical memory committed by a VirtualBacking.
Variants§
Buffer
VirtualBuffer leases mapped physical bytes.
Backing
The backing’s authority owns physical bytes independently of mappings.
This is the contract for a physical-handle pool: pooled-unmapped bytes
remain charged to authority, while mapped holder/zone bytes are only
attribution and must not be charged as additional physical ownership.
Fields
The one ledger that owns every physical byte held by the backing.
Trait Implementations§
Source§impl Clone for PhysicalMemoryAccounting
impl Clone for PhysicalMemoryAccounting
Source§fn clone(&self) -> PhysicalMemoryAccounting
fn clone(&self) -> PhysicalMemoryAccounting
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 moreimpl Copy for PhysicalMemoryAccounting
Source§impl Debug for PhysicalMemoryAccounting
impl Debug for PhysicalMemoryAccounting
impl Eq for PhysicalMemoryAccounting
Source§impl PartialEq for PhysicalMemoryAccounting
impl PartialEq for PhysicalMemoryAccounting
impl StructuralPartialEq for PhysicalMemoryAccounting
Auto Trait Implementations§
impl Freeze for PhysicalMemoryAccounting
impl RefUnwindSafe for PhysicalMemoryAccounting
impl Send for PhysicalMemoryAccounting
impl Sync for PhysicalMemoryAccounting
impl Unpin for PhysicalMemoryAccounting
impl UnsafeUnpin for PhysicalMemoryAccounting
impl UnwindSafe for PhysicalMemoryAccounting
Blanket Implementations§
impl<T> BindingResource for T
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