[][src]Struct capnp::message::HeapAllocator

pub struct HeapAllocator { /* fields omitted */ }

Standard segment allocator. Allocates each segment as a Vec<Word>, where Word has 8-byte alignment.

Methods

impl HeapAllocator[src]

pub fn new() -> HeapAllocator[src]

pub fn first_segment_words(self, value: u32) -> HeapAllocator[src]

pub fn allocation_strategy(self, value: AllocationStrategy) -> HeapAllocator[src]

Trait Implementations

impl Allocator for HeapAllocator[src]

impl Debug for HeapAllocator[src]

Auto Trait Implementations

impl RefUnwindSafe for HeapAllocator

impl Send for HeapAllocator

impl Sync for HeapAllocator

impl Unpin for HeapAllocator

impl UnwindSafe for HeapAllocator

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.