Skip to main content

Module models

Module models 

Source

Re-exports§

pub use crate::protocol::InstanceId;
pub use crate::protocol::InstanceSnapshot;
pub use crate::protocol::RenderTarget;
pub use crate::protocol::RendererMessage;
pub use crate::protocol::ServerMessage;
pub use crate::store::graphics::is_valid_graphic_id;

Structs§

Graphic
GraphicInstance
RendererInfo
A renderer as Core knows it: connected, disconnected since this process started, or only known through a RendererDirectory.
RendererMetrics
Metrics for a renderer connection (extension, not part of OGraf spec). Added to RendererInfo response to provide observability without requiring a separate metrics endpoint.
RendererStatus
The spec’s RendererInfo.status — { "status": "OK", "message": "…" }.

Enums§

InstanceState
Not part of the OGraf spec itself (the spec has no instance state machine) — this is Core’s own bookkeeping, inferred from which action last succeeded, purely so dashboards/UIs can show more than “a graphic is loaded here” (see store::renderers::apply_result).
StatusLevel
The spec’s RendererInfo.status.status.

Functions§

is_valid_renderer_name
Validates a renderer name for use as RendererId.

Type Aliases§

RendererId
Renderer identifier - the renderer’s stable name. Changed from Uuid in 0.4.0 for spec compliance and stability across reconnects.