Struct furiosa_smi_rs::MemoryUtilization
source · pub struct MemoryUtilization { /* private fields */ }
Expand description
A struct for memory utilization
Implementations§
source§impl MemoryUtilization
impl MemoryUtilization
sourcepub fn total_bytes(&self) -> u64
pub fn total_bytes(&self) -> u64
Returns the total bytes of memory.
sourcepub fn in_use_bytes(&self) -> u64
pub fn in_use_bytes(&self) -> u64
Returns the memory bytes currently in use.
Trait Implementations§
source§impl Clone for MemoryUtilization
impl Clone for MemoryUtilization
source§fn clone(&self) -> MemoryUtilization
fn clone(&self) -> MemoryUtilization
Returns a copy 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 MemoryUtilization
impl Debug for MemoryUtilization
impl Copy for MemoryUtilization
Auto Trait Implementations§
impl Freeze for MemoryUtilization
impl RefUnwindSafe for MemoryUtilization
impl Send for MemoryUtilization
impl Sync for MemoryUtilization
impl Unpin for MemoryUtilization
impl UnwindSafe for MemoryUtilization
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)