bookclerk_plugin_abi::plugin_host_capnp::adapter_transaction
| Item | Kind | Summary |
|---|---|---|
Server |
trait | |
Client |
struct | |
Owned |
struct | |
ServerDispatch |
struct | |
ExecuteParams |
type alias | |
ExecuteResults |
type alias | |
CommitParams |
type alias | |
CommitResults |
type alias | |
RollbackParams |
type alias | |
RollbackResults |
type alias | |
ExportIdentityParams |
type alias | |
ExportIdentityResults |
type alias | |
ImportIdentityParams |
type alias | |
ImportIdentityResults |
type alias | |
ListUserRelationsParams |
type alias | |
ListUserRelationsResults |
type alias | |
PrepareUnitRestoreParams |
type alias | |
PrepareUnitRestoreResults |
type alias | |
DropUserRelationsParams |
type alias | |
DropUserRelationsResults |
type alias | |
AssertRestoreConstraintsParams |
type alias | |
AssertRestoreConstraintsResults |
type alias |
execute_paramsexecute_resultscommit_paramscommit_resultsrollback_paramsrollback_resultsexport_identity_paramsexport_identity_resultsimport_identity_paramsimport_identity_resultslist_user_relations_paramslist_user_relations_resultsprepare_unit_restore_paramsprepare_unit_restore_resultsdrop_user_relations_paramsdrop_user_relations_resultsassert_restore_constraints_paramsassert_restore_constraints_results
pub trait Server: 'static {
fn execute(
self: Rc<Self>,
_: ExecuteParams,
_: ExecuteResults,
) -> impl Future<Output = Result<(), Error>> + 'static;
fn commit(
self: Rc<Self>,
_: CommitParams,
_: CommitResults,
) -> impl Future<Output = Result<(), Error>> + 'static;
fn rollback(
self: Rc<Self>,
_: RollbackParams,
_: RollbackResults,
) -> impl Future<Output = Result<(), Error>> + 'static;
fn export_identity(
self: Rc<Self>,
_: ExportIdentityParams,
_: ExportIdentityResults,
) -> impl Future<Output = Result<(), Error>> + 'static;
fn import_identity(
self: Rc<Self>,
_: ImportIdentityParams,
_: ImportIdentityResults,
) -> impl Future<Output = Result<(), Error>> + 'static;
fn list_user_relations(
self: Rc<Self>,
_: ListUserRelationsParams,
_: ListUserRelationsResults,
) -> impl Future<Output = Result<(), Error>> + 'static;
fn prepare_unit_restore(
self: Rc<Self>,
_: PrepareUnitRestoreParams,
_: PrepareUnitRestoreResults,
) -> impl Future<Output = Result<(), Error>> + 'static;
fn drop_user_relations(
self: Rc<Self>,
_: DropUserRelationsParams,
_: DropUserRelationsResults,
) -> impl Future<Output = Result<(), Error>> + 'static;
fn assert_restore_constraints(
self: Rc<Self>,
_: AssertRestoreConstraintsParams,
_: AssertRestoreConstraintsResults,
) -> impl Future<Output = Result<(), Error>> + 'static;
}
fn execute(
self: Rc<Self>,
_: ExecuteParams,
_: ExecuteResults,
) -> impl Future<Output = Result<(), Error>> + 'static
fn commit(
self: Rc<Self>,
_: CommitParams,
_: CommitResults,
) -> impl Future<Output = Result<(), Error>> + 'static
fn rollback(
self: Rc<Self>,
_: RollbackParams,
_: RollbackResults,
) -> impl Future<Output = Result<(), Error>> + 'static
fn export_identity(
self: Rc<Self>,
_: ExportIdentityParams,
_: ExportIdentityResults,
) -> impl Future<Output = Result<(), Error>> + 'static
fn import_identity(
self: Rc<Self>,
_: ImportIdentityParams,
_: ImportIdentityResults,
) -> impl Future<Output = Result<(), Error>> + 'static
fn list_user_relations(
self: Rc<Self>,
_: ListUserRelationsParams,
_: ListUserRelationsResults,
) -> impl Future<Output = Result<(), Error>> + 'static
fn prepare_unit_restore(
self: Rc<Self>,
_: PrepareUnitRestoreParams,
_: PrepareUnitRestoreResults,
) -> impl Future<Output = Result<(), Error>> + 'static
fn drop_user_relations(
self: Rc<Self>,
_: DropUserRelationsParams,
_: DropUserRelationsResults,
) -> impl Future<Output = Result<(), Error>> + 'static
fn assert_restore_constraints(
self: Rc<Self>,
_: AssertRestoreConstraintsParams,
_: AssertRestoreConstraintsResults,
) -> impl Future<Output = Result<(), Error>> + 'static
pub struct Client {
pub client: Client,
}
pub fn execute_request(&self) -> Request<Owned, Owned>
pub fn commit_request(&self) -> Request<Owned, Owned>
pub fn rollback_request(&self) -> Request<Owned, Owned>
pub fn export_identity_request(&self) -> Request<Owned, Owned>
pub fn import_identity_request(&self) -> Request<Owned, Owned>
pub fn list_user_relations_request(&self) -> Request<Owned, Owned>
pub fn prepare_unit_restore_request(&self) -> Request<Owned, Owned>
pub fn drop_user_relations_request(&self) -> Request<Owned, Owned>
pub fn assert_restore_constraints_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 ExecuteParams = Params<Owned>;
pub type ExecuteResults = Results<Owned>;
pub type CommitParams = Params<Owned>;
pub type CommitResults = Results<Owned>;
pub type RollbackParams = Params<Owned>;
pub type RollbackResults = Results<Owned>;
pub type ExportIdentityParams = Params<Owned>;
pub type ExportIdentityResults = Results<Owned>;
pub type ImportIdentityParams = Params<Owned>;
pub type ImportIdentityResults = Results<Owned>;
pub type ListUserRelationsParams = Params<Owned>;
pub type ListUserRelationsResults = Results<Owned>;
pub type PrepareUnitRestoreParams = Params<Owned>;
pub type PrepareUnitRestoreResults = Results<Owned>;
pub type DropUserRelationsParams = Params<Owned>;
pub type DropUserRelationsResults = Results<Owned>;
pub type AssertRestoreConstraintsParams = Params<Owned>;
pub type AssertRestoreConstraintsResults = Results<Owned>;
Generated from crates/bookclerk-plugin-abi at main · View as Markdown