bookclerk_plugin_abi::plugin_capnp::queue_consumer

Development These docs follow the development version and change with every merge.

Last updated View as Markdown

Item Kind Summary
Server trait
Client struct
Owned struct
ServerDispatch struct
QueueParams type alias
QueueResults type alias

Modules

Traits

Server

pub trait Server: 'static {
    fn queue(
        self: Rc<Self>,
        _: QueueParams,
        _: QueueResults,
    ) -> impl Future<Output = Result<(), Error>> + 'static;
}

Server::queue

fn queue(
    self: Rc<Self>,
    _: QueueParams,
    _: QueueResults,
) -> impl Future<Output = Result<(), Error>> + 'static

Structs

Client

pub struct Client {
    pub client: Client,
}

Client::queue_request

pub fn queue_request(&self) -> Request<Owned, Owned>

Implements: Clone, FromClientHook, FromPointerBuilder<'a>, FromPointerReader<'a>, FromServer<_S>, HasTypeId, SetterInput<Owned>

Owned

pub struct Owned(/* private */);

Implements: Clone, Copy, Introspect, Owned, Pipelined, SetterInput<Owned>

ServerDispatch

pub struct ServerDispatch<_T> {
    pub server: Rc<_T>,
}

ServerDispatch::dispatch_call_internal

pub fn dispatch_call_internal(
    this: Rc<_T>,
    method_id: u16,
    params: Params<Owned>,
    results: Results<Owned>,
) -> DispatchCallResult

Implements: Clone, Deref, Server

Type aliases

QueueParams

pub type QueueParams = Params<Owned>;

QueueResults

pub type QueueResults = Results<Owned>;

Generated from crates/bookclerk-plugin-abi at main · View as Markdown