Skip to main content

Crate webui_protocol

Crate webui_protocol 

Source
Expand description

WebUI Protocol implementation.

This crate defines the protocol used by the WebUI framework for cross-platform representation of UI components and templates. Types are generated directly from proto/webui.proto using prost for optimal runtime performance — no conversion layer between domain types and protobuf types.

Re-exports§

pub use plugin::FastElementData;
pub use plugin::WebUIElementData;
pub use proto::*;

Modules§

attrs
Attribute-name ↔ property-name mapping for irregular HTML attributes. Attribute-name ↔ property-name mapping for irregular HTML attributes.
plugin
Plugin-specific protocol helpers for framework hydration metadata. Plugin-specific protocol helpers for framework hydration metadata.
proto
Generated protobuf types from proto/webui.proto.

Enums§

ProtocolError

Type Aliases§

ComponentData
Result
WebUIFragment
WebUIFragmentAttribute
WebUIFragmentComponent
WebUIFragmentFor
WebUIFragmentIf
WebUIFragmentOutlet
WebUIFragmentPlugin
WebUIFragmentRaw
WebUIFragmentRecords
A mapping of unique fragment identifiers to their corresponding fragment lists.
WebUIFragmentRoute
WebUIFragmentSignal
WebUIProtocol