[−][src]Trait capnp::private::arena::ReaderArena
Required methods
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>
&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<()>
&self,
segment_id: u32,
start: *const Word,
size: usize
) -> Result<()>
fn amplified_read(&self, virtual_amount: u64) -> Result<()>
Implementors
impl ReaderArena for NullArena
[src]
fn get_segment(&self, _id: u32) -> Result<(*const Word, u32)>
[src]
fn check_offset(
&self,
_segment_id: u32,
start: *const Word,
offset_in_words: i32
) -> Result<*const Word>
[src]
&self,
_segment_id: u32,
start: *const Word,
offset_in_words: i32
) -> Result<*const Word>
fn contains_interval(
&self,
_id: u32,
_start: *const Word,
_size: usize
) -> Result<()>
[src]
&self,
_id: u32,
_start: *const Word,
_size: usize
) -> Result<()>
fn amplified_read(&self, _virtual_amount: u64) -> Result<()>
[src]
impl<A> ReaderArena for BuilderArenaImpl<A> where
A: Allocator,
[src]
A: Allocator,
fn get_segment(&self, id: u32) -> Result<(*const Word, u32)>
[src]
fn check_offset(
&self,
_segment_id: u32,
start: *const Word,
offset_in_words: i32
) -> Result<*const Word>
[src]
&self,
_segment_id: u32,
start: *const Word,
offset_in_words: i32
) -> Result<*const Word>
fn contains_interval(
&self,
_id: u32,
_start: *const Word,
_size: usize
) -> Result<()>
[src]
&self,
_id: u32,
_start: *const Word,
_size: usize
) -> Result<()>
fn amplified_read(&self, _virtual_amount: u64) -> Result<()>
[src]
impl<S> ReaderArena for ReaderArenaImpl<S> where
S: ReaderSegments,
[src]
S: ReaderSegments,
fn get_segment<'a>(&'a self, id: u32) -> Result<(*const Word, u32)>
[src]
fn check_offset(
&self,
segment_id: u32,
start: *const Word,
offset_in_words: i32
) -> Result<*const Word>
[src]
&self,
segment_id: u32,
start: *const Word,
offset_in_words: i32
) -> Result<*const Word>
fn contains_interval(
&self,
id: u32,
start: *const Word,
size_in_words: usize
) -> Result<()>
[src]
&self,
id: u32,
start: *const Word,
size_in_words: usize
) -> Result<()>