pub trait WindModel {
// Required method
fn wind_at(
&self,
at: Position,
when: Instant<Utc>,
) -> Result<Wind, KernelError>;
}Expand description
True wind: forecast, observation, constant.
Required Methods§
Sourcefn wind_at(&self, at: Position, when: Instant<Utc>) -> Result<Wind, KernelError>
fn wind_at(&self, at: Position, when: Instant<Utc>) -> Result<Wind, KernelError>
Wind at at, time when.
§Errors
KernelError::OutsideValidity outside the model’s coverage; any other
error the model data raises.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".