Skip to main content

Crate vil_server_core

Crate vil_server_core 

Source

Re-exports§

pub use error::VilError;
pub use extractors::RequestId;
pub use model::VilModel;
pub use server::VilServer;
pub use state::AppState;
pub use extractors::ShmContext;
pub use obs_middleware::HandlerMetricsRegistry;
pub use process::ProcessRegistry;
pub use shm_extractor::ShmSlice;
pub use shm_response::ShmJson;
pub use shm_response::ShmResponse;
pub use sync_handler::blocking;
pub use sync_handler::blocking_with;
pub use vx::app::FailoverStrategy;
pub use vx::app::VilApp;
pub use vx::app::VxFailoverConfig;
pub use vx::app::VxMeshConfig;
pub use vx::cleanup::spawn_cleanup_task;
pub use vx::cleanup::CleanupConfig;
pub use vx::cleanup::CleanupReport;
pub use vx::ctx::ServiceCtx;
pub use vx::ctx::ServiceName;
pub use vx::descriptor::RequestDescriptor;
pub use vx::descriptor::ResponseDescriptor;
pub use vx::egress::EgressHandle;
pub use vx::endpoint::ExecClass;
pub use vx::ingress::IngressBridge;
pub use vx::kernel::ControlSignal;
pub use vx::kernel::KernelMetrics;
pub use vx::kernel::MetricsSnapshot;
pub use vx::kernel::TokenState;
pub use vx::kernel::VxKernel;
pub use vx::service::ServiceProcess;
pub use vx::tri_lane::Lane as VxLane;
pub use sse::sse_stream;
pub use sse::sse_stream_with_keepalive;
pub use sse::SseEvent;
pub use streaming::SseHub;
pub use streaming::WsHub;
pub use sse_collect::SseCollect;
pub use sse_collect::SseCollectError;
pub use sse_collect::SseDialect;
pub use plugin_system::EndpointSpec as PluginEndpointSpec;
pub use plugin_system::PluginCapability;
pub use plugin_system::PluginContext;
pub use plugin_system::PluginDependency;
pub use plugin_system::PluginError;
pub use plugin_system::PluginHealth;
pub use plugin_system::PluginInfo;
pub use plugin_system::PluginRegistry;
pub use plugin_system::ResourceRegistry;
pub use plugin_system::VilPlugin;
pub use plugin_system::semantic::AiLane;
pub use plugin_system::semantic::AiSemantic;
pub use plugin_system::semantic::AiSemanticEnvelope;
pub use plugin_system::semantic::AiSemanticKind;
pub use axum;
pub use tower;
pub use tower_http;
pub use tracing;
pub use tokio;
pub use reqwest;

Modules§

alerting
api_versioning
cache
capsule_handler
coalescing
compression
content_negotiation
custom_metrics
diagnostics
error
error_tracker
etag
extractors
feature_flags
grpc
health
hot_reload
http_client
idempotency
middleware
middleware_dsl
middleware_stack
model
multi_protocol
obs_middleware
otel
playground
plugin
plugin_api
plugin_detail_gui
plugin_manager
plugin_manifest
plugin_system
VIL Hybrid Plugin System
process
profiler
request_log
response
retry
rolling_restart
router
scheduler
secrets
server
shm_extractor
shm_pool
shm_query_cache
shm_response
shutdown
sidecar_admin
sse
sse_collect
Generic SSE Stream Collector with dialect support and built-in async client.
state
streaming
sync_handler
timeout
tls
trace_middleware
upstream_metrics
vx
VX — Process-Oriented Server Architecture (Tri-Lane)
wasm_dispatch
wasm_host
wasm_shm_bridge
websocket

Structs§

ExchangeHeap
Json
JSON Extractor / Response.
Path
Extractor that will get captures from the URL and parse them using serde.
Query
Extractor that deserializes query strings into some type.
Router
The router type for composing handlers and services.
SidecarConfig
Configuration for a single sidecar.
SidecarRegistry
Central registry of all sidecars (thread-safe).
State
Extractor for state.
StatusCode
An HTTP status code (status-code in RFC 9110 et al.).
VastarRuntimeWorld
Main VIL runtime facade.

Enums§

SidecarHealth
Health state of a sidecar.

Traits§

IntoResponse
Trait for generating responses.

Functions§

delete
Route DELETE requests to the given handler.
get
Route GET requests to the given handler.
patch
Route PATCH requests to the given handler.
post
Route POST requests to the given handler.
put
Route PUT requests to the given handler.