pub trait CurrentModel {
// Required method
fn current_at(&self, at: Position, when: Instant<Utc>) -> Result<Current>;
}Expand description
Current: constant, tidal, GRIB, ocean model.
Required Methods§
Sourcefn current_at(&self, at: Position, when: Instant<Utc>) -> Result<Current>
fn current_at(&self, at: Position, when: Instant<Utc>) -> Result<Current>
Current 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".