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

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

Implementations

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 u8,
    nesting_limit: i32
) -> Result<Self>
[src]

pub fn reborrow<'b>(&'b self) -> PointerReader<'b>[src]

pub fn get_root_unchecked<'b>(location: *const u8) -> 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 u8>) -> Result<bool>[src]

Trait Implementations

impl<'a> Clone for PointerReader<'a>[src]

impl<'a> Copy for PointerReader<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for PointerReader<'a>

impl<'a> !Send for PointerReader<'a>

impl<'a> !Sync for PointerReader<'a>

impl<'a> Unpin for PointerReader<'a>

impl<'a> !UnwindSafe for PointerReader<'a>

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.