Skip to main content

ApplicationStateAccess

Trait ApplicationStateAccess 

Source
pub trait ApplicationStateAccess: Send + Sync {
    // Required method
    fn EmbedderName(&self) -> &'static str;
}
Expand description

Opaque application-state handle exposed to Vine handlers.

Embedders downcast or call sub-trait methods declared in their own crate. Vine itself never reaches into the state; handlers do.

Required Methods§

Source

fn EmbedderName(&self) -> &'static str

Returns the embedder name (e.g. “Mountain”, “Air”). Useful for diagnostic logs that fan in from multiple hosts.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§