ErrorLocationMessage

Trait ErrorLocationMessage 

Source
pub trait ErrorLocationMessage {
    // Required method
    fn location(self, location: Location, msg: impl AsRef<str>) -> Self;
}

Required Methods§

Source

fn location(self, location: Location, msg: impl AsRef<str>) -> 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> ErrorLocationMessage for Result<T>

Source§

fn location(self, location: Location, msg: impl AsRef<str>) -> Self

Implementors§