[][src]Trait dangerous::error::ContextStackBuilder

pub trait ContextStackBuilder {
    fn from_root(context: ExpectedContext) -> Self;
fn push<C>(&mut self, context: C)
    where
        C: Context
; }

A ContextStack builder.

Required methods

fn from_root(context: ExpectedContext) -> Self

Create the builder from a root expected context.

fn push<C>(&mut self, context: C) where
    C: Context

Push an additional context onto the stack.

Loading content...

Implementors

impl ContextStackBuilder for FullContextStack[src]

impl ContextStackBuilder for RootContextStack[src]

Loading content...