[][src]Struct capnp::message::Builder

pub struct Builder<A> where
    A: Allocator
{ /* fields omitted */ }

A container used to build a message.

Methods

impl<A> Builder<A> where
    A: Allocator
[src]

Initializes the root as a value of the given type.

Gets the root, interpreting it as the given type.

Sets the root to a deep copy of the given value.

Sets the root to a canonicalized version of value. If this was the first action taken on this Builder, then a subsequence call to get_segments_for_output() should return a single segment, containing the full canonicalized message.

impl Builder<HeapAllocator>
[src]

Trait Implementations

impl<A> ReaderSegments for Builder<A> where
    A: Allocator
[src]

impl<A, T> From<Builder<A>> for TypedReader<Builder<A>, T> where
    A: Allocator,
    T: for<'a> Owned<'a>, 
[src]

impl<A> Send for Builder<A> where
    A: Send + Allocator
[src]

Auto Trait Implementations

impl<A> !Sync for Builder<A>

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]