[][src]Trait tracerr::WrapTraced

pub trait WrapTraced<E> {
    fn wrap_traced(self, f: Frame) -> Traced<E>;
}

Trait for wrapping errors into a Traced wrapper and growing Trace inside.

Sealed

This trait is exposed only for being available inside macro invocations, so, outside this library in any code the following MUST BE met:

  • NEITHER this trait is implemented directly;
  • NOR its methods are invoked directly.

Required methods

fn wrap_traced(self, f: Frame) -> Traced<E>

Wraps given error into Traced wrapper with storing given Frame of Trace inside.

Loading content...

Implementors

impl<E> WrapTraced<E> for Traced<E>[src]

fn wrap_traced(self, f: Frame) -> Self[src]

Pushes given Frame into already captured Trace of Traced wrapper.

impl<E> WrapTraced<E> for E[src]

Loading content...