Struct parallel_processor::memory_fs::allocator::ChunksAllocator
source · pub struct ChunksAllocator { /* private fields */ }
Implementations§
source§impl ChunksAllocator
impl ChunksAllocator
pub fn initialize( &self, memory: MemoryDataSize, chunks_log_size: usize, min_chunks_count: usize )
pub fn giveback_free_memory(&self)
pub fn giveback_all_memory(&self)
pub fn request_chunk(&self, _: ()) -> AllocatedChunk
pub fn get_free_memory(&self) -> MemoryDataSize
pub fn get_reserved_memory(&self) -> MemoryDataSize
pub fn get_total_memory(&self) -> MemoryDataSize
pub fn deinitialize(&self)
Trait Implementations§
impl Send for ChunksAllocator
impl Sync for ChunksAllocator
Auto Trait Implementations§
impl !RefUnwindSafe for ChunksAllocator
impl Unpin for ChunksAllocator
impl UnwindSafe for ChunksAllocator
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