pub trait ErrorLocation<T, E>{
// Required methods
fn location(self, msg: Location) -> Result<T>;
fn with_location<F>(self, f: F) -> Result<T>
where F: FnOnce() -> Location;
}Required Methods§
Sourcefn with_location<F>(self, f: F) -> Result<T>
fn with_location<F>(self, f: F) -> Result<T>
Used with msg! macro
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.