Skip to main content

Module prelude

Module prelude 

Source
Expand description

Convenience re-export for plugin authors.

Re-exports§

pub use super::ffi::PluginManifest;
pub use super::ffi::PluginVtable;
pub use super::ffi::SDK_ABI_VERSION;
pub use super::SyncInput;
pub use super::SyncPlugin;
pub use super::schema::*;

Macros§

anyhow
Construct an ad-hoc error from a string or existing non-anyhow error value.
bail
Return early with an error.
declare_plugin
Declare a plugin. Generates the appctl_plugin_register entrypoint plus the introspect / free_string wrappers from a user-provided async function of the form async fn(SyncInput) -> anyhow::Result<Schema>.

Type Aliases§

Result
Result<T, Error>

Attribute Macros§

async_trait