pub trait FieldSource {
// Required methods
fn next(&mut self, out: &mut dyn Any) -> Result<(), ModelError>;
fn read(&mut self, value: &mut dyn Any) -> Result<(), ModelError>;
}Expand description
Where a record being built takes its fields from, one after the other.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".