Struct capnp::private::arena::NullArena [−][src]
Trait Implementations
impl BuilderArena for NullArena
[src]
fn allocate(&self, _segment_id: u32, _amount: WordCount32) -> Option<u32>
[src]
fn allocate_anywhere(&self, _amount: u32) -> (SegmentId, u32)
[src]
fn get_segment_mut(&self, _id: u32) -> (*mut u8, u32)
[src]
fn as_reader<'a>(&'a self) -> &'a dyn ReaderArena
[src]
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]
Auto Trait Implementations
impl RefUnwindSafe for NullArena
impl Send for NullArena
impl Sync for NullArena
impl Unpin for NullArena
impl UnwindSafe for NullArena
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
pub 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>,