bookclerk_plugin_abi::plugin_capnp::ai_models
| Item | Kind | Summary |
|---|---|---|
Server |
trait | |
Client |
struct | |
Owned |
struct | |
ServerDispatch |
struct | |
HealthParams |
type alias | |
HealthResults |
type alias | |
ModelsParams |
type alias | |
ModelsResults |
type alias | |
RunParams |
type alias | |
RunResults |
type alias |
pub trait Server: 'static {
fn health(
self: Rc<Self>,
_: HealthParams,
_: HealthResults,
) -> impl Future<Output = Result<(), Error>> + 'static;
fn models(
self: Rc<Self>,
_: ModelsParams,
_: ModelsResults,
) -> impl Future<Output = Result<(), Error>> + 'static;
fn run(
self: Rc<Self>,
_: RunParams,
_: RunResults,
) -> impl Future<Output = Result<(), Error>> + 'static;
}
fn health(
self: Rc<Self>,
_: HealthParams,
_: HealthResults,
) -> impl Future<Output = Result<(), Error>> + 'static
fn models(
self: Rc<Self>,
_: ModelsParams,
_: ModelsResults,
) -> impl Future<Output = Result<(), Error>> + 'static
fn run(
self: Rc<Self>,
_: RunParams,
_: RunResults,
) -> impl Future<Output = Result<(), Error>> + 'static
pub struct Client {
pub client: Client,
}
pub fn health_request(&self) -> Request<Owned, Owned>
pub fn models_request(&self) -> Request<Owned, Owned>
pub fn run_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 HealthParams = Params<Owned>;
pub type HealthResults = Results<Owned>;
pub type ModelsParams = Params<Owned>;
pub type ModelsResults = Results<Owned>;
pub type RunParams = Params<Owned>;
pub type RunResults = Results<Owned>;
Generated from crates/bookclerk-plugin-abi at main · View as Markdown