use crate::memory::VirtualMemory;
use crate::Bytes;
pub trait VirtualMemoryExt {
fn buffers(&self) -> Bytes;
fn cached(&self) -> Bytes;
fn shared(&self) -> Bytes;
fn slab(&self) -> Bytes;
}
impl VirtualMemoryExt for VirtualMemory {
fn buffers(&self) -> Bytes {
self.buffers
}
fn cached(&self) -> Bytes {
self.cached
}
fn shared(&self) -> Bytes {
self.shared
}
fn slab(&self) -> Bytes {
self.slab
}
}