Trait WrapTraced

Source
pub trait WrapTraced<E>: Sealed<E> {
    // Required method
    fn wrap_traced(self, f: Frame) -> Traced<E>;
}
Expand description

Trait for wrapping errors into a Traced wrapper and growing its 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§

Source

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

Wraps this error into a Traced wrapper, storing the given Frame of a Trace inside.

Implementors§

Source§

impl<E> WrapTraced<E> for Traced<E>

Source§

impl<E> WrapTraced<E> for E