bookclerk_plugin_abi::plugin_capnp::webhooks
| Item | Kind | Summary |
|---|---|---|
Server |
trait | |
Client |
struct | |
Owned |
struct | |
ServerDispatch |
struct | |
UrlParams |
type alias | |
UrlResults |
type alias | |
PullParams |
type alias | |
PullResults |
type alias | |
AckParams |
type alias | |
AckResults |
type alias |
pub trait Server: 'static {
fn url(
self: Rc<Self>,
_: UrlParams,
_: UrlResults,
) -> impl Future<Output = Result<(), Error>> + 'static;
fn pull(
self: Rc<Self>,
_: PullParams,
_: PullResults,
) -> impl Future<Output = Result<(), Error>> + 'static;
fn ack(
self: Rc<Self>,
_: AckParams,
_: AckResults,
) -> impl Future<Output = Result<(), Error>> + 'static;
}
fn url(
self: Rc<Self>,
_: UrlParams,
_: UrlResults,
) -> impl Future<Output = Result<(), Error>> + 'static
fn pull(
self: Rc<Self>,
_: PullParams,
_: PullResults,
) -> impl Future<Output = Result<(), Error>> + 'static
fn ack(
self: Rc<Self>,
_: AckParams,
_: AckResults,
) -> impl Future<Output = Result<(), Error>> + 'static
pub struct Client {
pub client: Client,
}
pub fn url_request(&self) -> Request<Owned, Owned>
pub fn pull_request(&self) -> Request<Owned, Owned>
pub fn ack_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 UrlParams = Params<Owned>;
pub type UrlResults = Results<Owned>;
pub type PullParams = Params<Owned>;
pub type PullResults = Results<Owned>;
pub type AckParams = Params<Owned>;
pub type AckResults = Results<Owned>;
Generated from crates/bookclerk-plugin-abi at main · View as Markdown