pub struct GpuCacheReceipt {
pub admitted: NodeId,
pub evicted: Vec<NodeId>,
pub resident_points: u64,
pub resident_gpu_bytes: u64,
}Expand description
Exact result of one GPU cache admission.
Fields§
§admitted: NodeIdNewly admitted node.
evicted: Vec<NodeId>Nodes explicitly evicted before admission.
resident_points: u64Resident points after admission.
resident_gpu_bytes: u64Resident GPU bytes after admission.
Trait Implementations§
Source§impl Clone for GpuCacheReceipt
impl Clone for GpuCacheReceipt
Source§fn clone(&self) -> GpuCacheReceipt
fn clone(&self) -> GpuCacheReceipt
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 GpuCacheReceipt
impl Debug for GpuCacheReceipt
Source§impl PartialEq for GpuCacheReceipt
impl PartialEq for GpuCacheReceipt
Source§fn eq(&self, other: &GpuCacheReceipt) -> bool
fn eq(&self, other: &GpuCacheReceipt) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for GpuCacheReceipt
impl StructuralPartialEq for GpuCacheReceipt
Auto Trait Implementations§
impl Freeze for GpuCacheReceipt
impl RefUnwindSafe for GpuCacheReceipt
impl Send for GpuCacheReceipt
impl Sync for GpuCacheReceipt
impl Unpin for GpuCacheReceipt
impl UnsafeUnpin for GpuCacheReceipt
impl UnwindSafe for GpuCacheReceipt
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