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

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

Required methods

fn get_segment(&self, id: u32) -> Result<(*const u8, u32)>[src]

fn check_offset(
    &self,
    segment_id: u32,
    start: *const u8,
    offset_in_words: i32
) -> Result<*const u8>
[src]

fn contains_interval(
    &self,
    segment_id: u32,
    start: *const u8,
    size: usize
) -> Result<()>
[src]

fn amplified_read(&self, virtual_amount: u64) -> Result<()>[src]

fn nesting_limit(&self) -> i32[src]

Loading content...

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]

Loading content...