[][src]Struct capnp::capability_list::Reader

pub struct Reader<'a, T> where
    T: FromClientHook
{ /* fields omitted */ }

Methods

impl<'a, T> Reader<'a, T> where
    T: FromClientHook
[src]

pub fn new<'b>(reader: ListReader<'b>) -> Reader<'b, T>[src]

pub fn len(&self) -> u32[src]

Important traits for ListIter<T, U>
pub fn iter(self) -> ListIter<Reader<'a, T>, Result<T>>[src]

impl<'a, T> Reader<'a, T> where
    T: FromClientHook
[src]

pub fn reborrow<'b>(&'b self) -> Reader<'b, T>[src]

impl<'a, T> Reader<'a, T> where
    T: FromClientHook
[src]

pub fn get(self, index: u32) -> Result<T>[src]

Trait Implementations

impl<'a, T> FromPointerReader<'a> for Reader<'a, T> where
    T: FromClientHook
[src]

impl<'a, T> SetPointerBuilder<Builder<'a, T>> for Reader<'a, T> where
    T: FromClientHook
[src]

impl<'a, T> IndexMove<u32, Result<T, Error>> for Reader<'a, T> where
    T: FromClientHook
[src]

impl<'a, T> Clone for Reader<'a, T> where
    T: FromClientHook
[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<'a, T> IntoIterator for Reader<'a, T> where
    T: FromClientHook
[src]

type Item = Result<T>

The type of the elements being iterated over.

type IntoIter = ListIter<Reader<'a, T>, Self::Item>

Which kind of iterator are we turning this into?

impl<'a, T> Copy for Reader<'a, T> where
    T: FromClientHook
[src]

Auto Trait Implementations

impl<'a, T> !Sync for Reader<'a, T>

impl<'a, T> !Send for Reader<'a, T>

impl<'a, T> Unpin for Reader<'a, T> where
    T: Unpin

impl<'a, T> !RefUnwindSafe for Reader<'a, T>

impl<'a, T> !UnwindSafe for Reader<'a, T>

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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