Trait capnp::private::capability::ResultsHook [] [src]

pub trait ResultsHook {
    fn get<'a>(&'a mut self) -> Result<Builder<'a>>;
    fn allow_cancellation(&self);
    fn tail_call(self: Box<Self>, request: Box<RequestHook>) -> Promise<()Error>;
    fn direct_tail_call(self: Box<Self>, request: Box<RequestHook>) -> (Promise<()Error>, Box<PipelineHook>);
}

Required Methods

fn get<'a>(&'a mut self) -> Result<Builder<'a>>

fn allow_cancellation(&self)

fn tail_call(self: Box<Self>, request: Box<RequestHook>) -> Promise<()Error>

fn direct_tail_call(self: Box<Self>, request: Box<RequestHook>) -> (Promise<()Error>, Box<PipelineHook>)

Implementors