Skip to main content

Crate shellcanvas_adapter_sdk

Crate shellcanvas_adapter_sdk 

Source
Expand description

Build a native connection adapter without linking the ShellCanvas desktop. Standard input/output are reserved for the versioned protocol.

Re-exports§

pub use wire::ServiceDescriptor;
pub use serde_json;

Modules§

package
Shared package identity, configuration and asset-path validation.
tools
Standalone project generation and package tooling. Never installs or connects.
wire
Adapter protocol v1: big-endian u32 byte length followed by UTF-8 JSON.

Macros§

json
Construct a serde_json::Value from a JSON literal.

Structs§

CallError
A public error message must not contain credentials or raw device responses.
RequestContext
Cancellation requests a stop; it cannot undo an already dispatched write.

Enums§

Value
Represents any valid JSON value.

Traits§

Adapter

Functions§

run
serve
Serve one framed connection. Queues and concurrency are bounded; total requests/bytes are not capped. Disconnect allows five seconds for cleanup. Adapter resources also need RAII cleanup for forced process termination.

Attribute Macros§

async_trait