Struct scl_core::utils::MemoryStatus
source · pub struct MemoryStatus {
pub max: u64,
pub free: u64,
}
Expand description
内存状态对象,单位为 MB
Fields§
§max: u64
机器的内存总量,单位为 MB
free: u64
机器的可用内存总量,单位为 MB
Auto Trait Implementations§
impl RefUnwindSafe for MemoryStatus
impl Send for MemoryStatus
impl Sync for MemoryStatus
impl Unpin for MemoryStatus
impl UnwindSafe for MemoryStatus
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