pub trait TemplateProperty {
type Output;
// Required method
fn extract(&self) -> Result<Self::Output, TemplatePropertyError>;
}Expand description
Lazily evaluated value which can fail to evaluate.
Required Associated Types§
Required Methods§
fn extract(&self) -> Result<Self::Output, TemplatePropertyError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".