bookclerk_plugin_abi::plugin_capnp::plugin_cli
| Item | Kind | Summary |
|---|---|---|
Server |
trait | |
Client |
struct | |
Owned |
struct | |
ServerDispatch |
struct | |
DescribeParams |
type alias | |
DescribeResults |
type alias | |
InvokeParams |
type alias | |
InvokeResults |
type alias |
pub trait Server: 'static {
fn describe(
self: Rc<Self>,
_: DescribeParams,
_: DescribeResults,
) -> impl Future<Output = Result<(), Error>> + 'static;
fn invoke(
self: Rc<Self>,
_: InvokeParams,
_: InvokeResults,
) -> impl Future<Output = Result<(), Error>> + 'static;
}
fn describe(
self: Rc<Self>,
_: DescribeParams,
_: DescribeResults,
) -> impl Future<Output = Result<(), Error>> + 'static
fn invoke(
self: Rc<Self>,
_: InvokeParams,
_: InvokeResults,
) -> impl Future<Output = Result<(), Error>> + 'static
pub struct Client {
pub client: Client,
}
pub fn describe_request(&self) -> Request<Owned, Owned>
pub fn invoke_request(&self) -> Request<Owned, Owned>
Implements: Clone, FromClientHook, FromPointerBuilder<'a>, FromPointerReader<'a>, FromServer<_S>, HasTypeId, SetterInput<Owned>
pub struct Owned(/* private */);
Implements: Clone, Copy, Introspect, Owned, Pipelined, SetterInput<Owned>
pub struct ServerDispatch<_T> {
pub server: Rc<_T>,
}
pub fn dispatch_call_internal(
this: Rc<_T>,
method_id: u16,
params: Params<Owned>,
results: Results<Owned>,
) -> DispatchCallResult
Implements: Clone, Deref, Server
pub type DescribeParams = Params<Owned>;
pub type DescribeResults = Results<Owned>;
pub type InvokeParams = Params<Owned>;
pub type InvokeResults = Results<Owned>;
Generated from crates/bookclerk-plugin-abi at main · View as Markdown