Trait dyn_context::ContextRef[][src]

pub trait ContextRef {
    fn merge_and_then<T>(
        self,
        f: impl FnOnce(&dyn Context) -> T,
        other: &dyn Context
    ) -> T; }
Expand description

Provides method allowing combine two read-only Contexts into one.

Required methods

Merges two contexts into one and calls provided function with the combined context.

Implementors