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<dyn RequestHook>
    ) -> Promise<(), Error>

Notable traits for Promise<T, E>

impl<T, E> Future for Promise<T, E> type Output = Result<T, E>;
;
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>>[src]

fn allow_cancellation(&self)[src]

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

Notable traits for Promise<T, E>

impl<T, E> Future for Promise<T, E> type Output = Result<T, E>;
[src]

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

Loading content...

Implementors

Loading content...