[][src]Trait capnp::private::arena::ReaderArena

pub trait ReaderArena {
    fn get_segment(&self, id: u32) -> Result<(*const Word, u32)>;
fn check_offset(
        &self,
        segment_id: u32,
        start: *const Word,
        offset_in_words: i32
    ) -> Result<*const Word>;
fn contains_interval(
        &self,
        segment_id: u32,
        start: *const Word,
        size: usize
    ) -> Result<()>;
fn amplified_read(&self, virtual_amount: u64) -> Result<()>; }

Required Methods

Implementors

impl ReaderArena for NullArena
[src]

impl<A> ReaderArena for BuilderArenaImpl<A> where
    A: Allocator
[src]

impl<S> ReaderArena for ReaderArenaImpl<S> where
    S: ReaderSegments
[src]