[−][src]Struct capnp::private::arena::ReaderArenaImpl
Methods
impl<S> ReaderArenaImpl<S> where
S: ReaderSegments,
[src]
S: ReaderSegments,
pub fn new(segments: S, options: ReaderOptions) -> Self
[src]
pub fn into_segments(self) -> S
[src]
Trait Implementations
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<()>
fn amplified_read(&self, virtual_amount: u64) -> Result<()>
[src]
Auto Trait Implementations
impl<S> Send for ReaderArenaImpl<S> where
S: Send,
S: Send,
impl<S> !Sync for ReaderArenaImpl<S>
impl<S> Unpin for ReaderArenaImpl<S> where
S: Unpin,
S: Unpin,
impl<S> UnwindSafe for ReaderArenaImpl<S> where
S: UnwindSafe,
S: UnwindSafe,
impl<S> !RefUnwindSafe for ReaderArenaImpl<S>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,