[][src]Struct capnp::private::layout::PointerReader

pub struct PointerReader<'a> { /* fields omitted */ }

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]

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]

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]

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]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]