Trait capnp_rpc::OutgoingMessage [−][src]
Required methods
fn get_body<'a>(&'a mut self) -> Result<Builder<'a>>
[src]
fn get_body_as_reader<'a>(&'a self) -> Result<Reader<'a>>
[src]
fn send(
self: Box<Self>
) -> (Promise<Rc<Builder<HeapAllocator>>, Error>, Rc<Builder<HeapAllocator>>)
[src]
self: Box<Self>
) -> (Promise<Rc<Builder<HeapAllocator>>, Error>, Rc<Builder<HeapAllocator>>)
Sends the message. Returns a promise for the message that resolves once the send has completed. Dropping the returned promise does not cancel the send.