[][src]Struct capnp::message::Reader

pub struct Reader<S> where
    S: ReaderSegments
{ /* fields omitted */ }

A container used to read a message.

Methods

impl<S> Reader<S> where
    S: ReaderSegments
[src]

Gets the root of the message, interpreting it as the given type.

Checks whether the message is canonical.

Gets the canonical form of this message. Works by copying the message twice. For a canonicalization method that only requires one copy, see message::Builder::set_root_canonical().

Trait Implementations

impl<S, T> From<Reader<S>> for TypedReader<S, T> where
    S: ReaderSegments,
    T: for<'a> Owned<'a>, 
[src]

Auto Trait Implementations

impl<S> Send for Reader<S> where
    S: Send

impl<S> !Sync for Reader<S>

Blanket Implementations

impl<T> From for T
[src]

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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