Skip to main content

WithContext

Trait WithContext 

Source
pub trait WithContext<T> {
    // Required methods
    fn with_context(self, ctx: &(impl ContextSource + ?Sized)) -> GeopResult<T>;
    fn concerning(self, key: &str) -> GeopResult<T>;
}

Required Methods§

Source

fn with_context(self, ctx: &(impl ContextSource + ?Sized)) -> GeopResult<T>

Source

fn concerning(self, key: &str) -> GeopResult<T>

Its error caused by the step’s argument key (see GeopError::concerning).

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§