Skip to main content

VortexSessionVar

Trait VortexSessionVar 

Source
pub trait VortexSessionVar: SessionVar { }
Expand description

A SessionVar that can be stored in a VortexSession.

This trait is implemented automatically for every SessionVar. Snapshots store shared references to variables, so their types do not need to implement Clone. A variable that exposes shared mutable state must synchronize that state in its own API.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§