bookclerk_plugin_abi::plugin_capnp::ingress
| Item | Kind | Summary |
|---|---|---|
Server |
trait | |
Client |
struct | |
Owned |
struct | |
ServerDispatch |
struct | |
StartParams |
type alias | |
StartResults |
type alias | |
HealthParams |
type alias | |
HealthResults |
type alias | |
StopParams |
type alias | |
StopResults |
type alias |
pub trait Server: 'static {
fn start(
self: Rc<Self>,
_: StartParams,
_: StartResults,
) -> impl Future<Output = Result<(), Error>> + 'static;
fn health(
self: Rc<Self>,
_: HealthParams,
_: HealthResults,
) -> impl Future<Output = Result<(), Error>> + 'static;
fn stop(
self: Rc<Self>,
_: StopParams,
_: StopResults,
) -> impl Future<Output = Result<(), Error>> + 'static;
}
fn start(
self: Rc<Self>,
_: StartParams,
_: StartResults,
) -> impl Future<Output = Result<(), Error>> + 'static
fn health(
self: Rc<Self>,
_: HealthParams,
_: HealthResults,
) -> impl Future<Output = Result<(), Error>> + 'static
fn stop(
self: Rc<Self>,
_: StopParams,
_: StopResults,
) -> impl Future<Output = Result<(), Error>> + 'static
pub struct Client {
pub client: Client,
}
pub fn start_request(&self) -> Request<Owned, Owned>
pub fn health_request(&self) -> Request<Owned, Owned>
pub fn stop_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 StartParams = Params<Owned>;
pub type StartResults = Results<Owned>;
pub type HealthParams = Params<Owned>;
pub type HealthResults = Results<Owned>;
pub type StopParams = Params<Owned>;
pub type StopResults = Results<Owned>;
Generated from crates/bookclerk-plugin-abi at main · View as Markdown