pub trait VortexSessionVar: SessionVar { }Expand description
A SessionVar that can be stored in a VortexSession.
This trait is implemented automatically for every SessionVar that is also Clone, so
types opt in by implementing Clone rather than implementing this trait directly. The trait
itself stays object-safe (so it can be stored as Arc<dyn VortexSessionVar>); the Clone
bound lives on the blanket impl rather than the trait.
Requiring Clone lets the configuration with_* helpers read a variable, modify a copy, and
re-insert the result.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".