[−][src]Trait dangerous::error::WithContext
Implemented for errors that collect Context
s.
Required methods
pub fn with_context<C>(self, input: Input<'i>, context: C) -> Self where
C: Context,
[src]
C: Context,
Return Self
with context.
This method is used for adding parent contexts to errors bubbling up.
Implementations on Foreign Types
impl<'i, S> WithContext<'i> for Box<Expected<'i, S>> where
S: ContextStackBuilder,
[src]
S: ContextStackBuilder,
pub fn with_context<C>(mut self: Self, input: Input<'i>, context: C) -> Self where
C: Context,
[src]
C: Context,
Implementors
impl<'i> WithContext<'i> for Fatal
[src]
pub fn with_context<C>(self, _input: Input<'i>, _context: C) -> Self where
C: Context,
[src]
C: Context,
impl<'i> WithContext<'i> for Invalid
[src]
pub fn with_context<C>(self, _input: Input<'i>, _context: C) -> Self where
C: Context,
[src]
C: Context,
impl<'i, S> WithContext<'i> for Expected<'i, S> where
S: ContextStackBuilder,
[src]
S: ContextStackBuilder,
pub fn with_context<C>(mut self: Self, input: Input<'i>, context: C) -> Self where
C: Context,
[src]
C: Context,