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

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


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>

pub fn borrow<'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(
    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 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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.