bookclerk_plugin_destination_local::plugin

Development These docs follow the development version and change with every merge.

Last updated View as Markdown

Destination + job-handler surface for the local filesystem guest.

Item Kind Summary
LocalDestination struct Local filesystem destination capability.
LocalRoot struct Root capability for the platform local destination guest.

Structs

LocalDestination

pub struct LocalDestination {
    /* private fields */
}

Local filesystem destination capability.

LocalDestination::from_config

pub fn from_config(config: &ExtensibleConfig) -> Result<Self, PluginError>

Builds a destination from the open Bindings::config payload (an OutputLocalContextDto as application/json; empty means defaults).

Errors

Returns PluginError::invalid_params when the payload is not a local output context, or an internal error when the root cannot be opened.

Implements: Destination

LocalRoot

pub struct LocalRoot;

Root capability for the platform local destination guest.

Implements: PluginWorker

Generated from crates/bookclerk-plugins/platform/destination-local at main · View as Markdown