Expand description
Axum adapter for Shelly LiveView.
The adapter owns HTTP routing, initial page rendering, JavaScript asset
serving, and WebSocket transport. The core runtime remains in shelly.
Structs§
- Authorization
Context - Context passed to optional authorization hooks.
- Authorization
Decision - Authorization hook response.
- Durable
Journal Entry - Durable journal entry for replaying state transitions after failover.
- Durable
Lease Grant - Result of a successful durable lease acquisition/renewal.
- Durable
Lease Request - Durable lease acquisition request.
- Durable
Placement Context - Placement context for durable ownership acquisition decisions.
- Durable
Placement Decision - Placement hook response for durable ownership acquisition.
- Durable
Session Record - Durable record loaded from one store backend.
- Durable
Session Snapshot - Durable session snapshot persisted for failover recovery.
- Durable
Store Error - Durable store error from lease/snapshot/journal operations.
- File
Durable Session Store - Durable store that persists lease/snapshot/journal state to local files.
- InMemory
Durable Session Store - Overload
Budgets - Budget configuration for adaptive overload control.
- Overload
Context - Context passed to optional overload policy hooks.
- Overload
Decision - Overload policy decision.
- Quota
Context - Context passed to optional quota policy hooks.
- Quota
Decision - Quota policy hook response.
- Rate
Limit Context - Context passed to the optional transport-level rate limiter hook.
- Session
Affinity Context - Shelly
Router - Builder for an Axum-backed Shelly application.
- Telemetry
Config - Telemetry configuration for the Axum adapter.
- Tenant
Quota Budgets - Tenant
Quota Policy
Enums§
- Console
LogFormat - Console log formatting mode.
- Durable
Takeover Policy - Durable runtime takeover policy when another node currently owns a session lease.
- Outbound
Overflow Policy - Overflow handling policy for bounded outbound websocket queues.
- Overload
Priority - Priority class used by overload scheduler decisions.
- Overload
Shed Policy - Overload shed strategy for saturated runtime paths.
- Security
Operation - Message operation surfaced to security policy hooks.
- Session
Affinity Mode - Telemetry
Exporter - Export mode for Shelly telemetry events.
- Transport
Mode - Runtime transport profile advertised to browser clients.
Traits§
- Durable
Session Store - Durable store abstraction for session ownership + recovery state.
Functions§
- init_
console_ logging - Initialize a standardized Shelly tracing subscriber for console logs.
Type Aliases§
- Live
View Factory - Factory for a fresh LiveView instance.