bookclerk_plugin_abi::plugin_capnp::socket_handler
| Item | Kind | Summary |
|---|---|---|
Server |
trait | |
Client |
struct | |
Owned |
struct | |
ServerDispatch |
struct | |
MessageParams |
type alias | |
MessageResults |
type alias | |
ClosedParams |
type alias | |
ClosedResults |
type alias |
pub trait Server: 'static {
fn message(
self: Rc<Self>,
_: MessageParams,
_: MessageResults,
) -> impl Future<Output = Result<(), Error>> + 'static;
fn closed(
self: Rc<Self>,
_: ClosedParams,
_: ClosedResults,
) -> impl Future<Output = Result<(), Error>> + 'static;
}
fn message(
self: Rc<Self>,
_: MessageParams,
_: MessageResults,
) -> impl Future<Output = Result<(), Error>> + 'static
fn closed(
self: Rc<Self>,
_: ClosedParams,
_: ClosedResults,
) -> impl Future<Output = Result<(), Error>> + 'static
pub struct Client {
pub client: Client,
}
pub fn message_request(&self) -> Request<Owned, Owned>
pub fn closed_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 MessageParams = Params<Owned>;
pub type MessageResults = Results<Owned>;
pub type ClosedParams = Params<Owned>;
pub type ClosedResults = Results<Owned>;
Generated from crates/bookclerk-plugin-abi at main · View as Markdown