[−][src]Struct capnp::private::layout::PointerReader
Methods
impl<'a> PointerReader<'a>
[src]
pub fn new_default<'b>() -> PointerReader<'b>
[src]
pub fn get_root(
arena: &'a dyn ReaderArena,
segment_id: u32,
location: *const Word,
nesting_limit: i32
) -> Result<Self>
[src]
arena: &'a dyn ReaderArena,
segment_id: u32,
location: *const Word,
nesting_limit: i32
) -> Result<Self>
pub fn borrow<'b>(&'b self) -> PointerReader<'b>
[src]
pub fn get_root_unchecked<'b>(location: *const Word) -> PointerReader<'b>
[src]
pub fn imbue(&mut self, cap_table: CapTableReader)
[src]
pub fn is_null(&self) -> bool
[src]
pub fn total_size(&self) -> Result<MessageSize>
[src]
pub fn get_struct(self, default: Option<&'a [Word]>) -> Result<StructReader<'a>>
[src]
pub fn get_list(
self,
expected_element_size: ElementSize,
default: Option<&'a [Word]>
) -> Result<ListReader<'a>>
[src]
self,
expected_element_size: ElementSize,
default: Option<&'a [Word]>
) -> Result<ListReader<'a>>
pub fn get_text(self, default: Option<&[Word]>) -> Result<Reader<'a>>
[src]
pub fn get_data(&self, default: Option<&'a [Word]>) -> Result<Reader<'a>>
[src]
pub fn get_capability(&self) -> Result<Box<dyn ClientHook>>
[src]
pub fn get_pointer_type(&self) -> Result<PointerType>
[src]
pub fn is_canonical(&self, read_head: &Cell<*const Word>) -> Result<bool>
[src]
Trait Implementations
impl<'a> Clone for PointerReader<'a>
[src]
fn clone(&self) -> PointerReader<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Copy for PointerReader<'a>
[src]
Auto Trait Implementations
impl<'a> !Send for PointerReader<'a>
impl<'a> !Sync for PointerReader<'a>
impl<'a> Unpin for PointerReader<'a>
impl<'a> !UnwindSafe for PointerReader<'a>
impl<'a> !RefUnwindSafe for PointerReader<'a>
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut 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,