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

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

Required methods

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

fn allow_cancellation(&self)

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

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

Loading content...

Implementors

Loading content...