Attach

Trait Attach 

Source
pub trait Attach {
    // Required methods
    fn attach(self) -> Self;
    fn attach_location(self, location: Location) -> Self;
}

Required Methods§

Source

fn attach(self) -> Self

Source

fn attach_location(self, location: Location) -> 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<T, E: Error2> Attach for Result<T, E>

Source§

fn attach(self) -> Self

Source§

fn attach_location(self, location: Location) -> Self

Implementors§

Source§

impl<E: Error2> Attach for E