Skip to main content

WindModel

Trait WindModel 

Source
pub trait WindModel {
    // Required method
    fn wind_at(&self, at: Position, when: Instant<Utc>) -> Result<Wind>;
}
Expand description

True wind: forecast, observation, constant.

Required Methods§

Source

fn wind_at(&self, at: Position, when: Instant<Utc>) -> Result<Wind>

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".

Implementors§