Struct comet::block_allocator::BlockAllocator[][src]

pub struct BlockAllocator {
    pub data_bound: *mut u8,
    pub data: *mut u8,
    pub mmap: Mmap,
    // some fields omitted
}

Fields

data_bound: *mut u8data: *mut u8mmap: Mmap

Implementations

Get a new block aligned to BLOCK_SIZE.

Return a collection of blocks.

Return the number of unallocated blocks.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.