pub trait ConstantValueSource:
Debug
+ Send
+ Sync {
// Required method
fn read(&self, index: u64) -> Result<Value, SQLError>;
}Expand description
Storage for an already evaluated value. Reading must reproduce the original value without invoking SQL or changing it; implementations own their resource until the final shared handle is dropped.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".