Trait capnp::private::arena::ReaderArena [−][src]
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]
&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<()>
[src]
&self,
segment_id: u32,
start: *const u8,
size: usize
) -> Result<()>
fn amplified_read(&self, virtual_amount: u64) -> Result<()>
[src]
Implementors
impl ReaderArena for NullArena
[src]
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]
&self,
_segment_id: u32,
start: *const u8,
offset_in_words: i32
) -> Result<*const u8>
fn contains_interval(
&self,
_id: u32,
_start: *const u8,
_size: usize
) -> Result<()>
[src]
&self,
_id: u32,
_start: *const u8,
_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 u8, u32)>
[src]
fn check_offset(
&self,
_segment_id: u32,
start: *const u8,
offset_in_words: i32
) -> Result<*const u8>
[src]
&self,
_segment_id: u32,
start: *const u8,
offset_in_words: i32
) -> Result<*const u8>
fn contains_interval(
&self,
_id: u32,
_start: *const u8,
_size: usize
) -> Result<()>
[src]
&self,
_id: u32,
_start: *const u8,
_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 u8, u32)>
[src]
fn check_offset(
&self,
segment_id: u32,
start: *const u8,
offset_in_words: i32
) -> Result<*const u8>
[src]
&self,
segment_id: u32,
start: *const u8,
offset_in_words: i32
) -> Result<*const u8>
fn contains_interval(
&self,
id: u32,
start: *const u8,
size_in_words: usize
) -> Result<()>
[src]
&self,
id: u32,
start: *const u8,
size_in_words: usize
) -> Result<()>