Trait ContextParent

Source
pub trait ContextParent: Sized {
    // Required methods
    fn add<Next>(self, next: Next) -> ContextStack<Next, Self>;
    fn seal(self) -> Context<Self>;
}

Required Methods§

Source

fn add<Next>(self, next: Next) -> ContextStack<Next, Self>

Source

fn seal(self) -> Context<Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl ContextParent for ()

Source§

fn add<Next>(self, next: Next) -> ContextStack<Next, Self>

Source§

fn seal(self) -> Context<Self>

Implementors§

Source§

impl<H, T> ContextParent for ContextStack<H, T>