pub trait JsonErrorAt<T, E> {
// Required method
fn json_err_at<F>(
self,
location: impl Into<JsonBacktraceBuf<F>>,
) -> Result<T, JsonLocated<E, F>>;
}Expand description
Pairs the error of a Result, if any, with a location.
Required Methods§
Sourcefn json_err_at<F>(
self,
location: impl Into<JsonBacktraceBuf<F>>,
) -> Result<T, JsonLocated<E, F>>
fn json_err_at<F>( self, location: impl Into<JsonBacktraceBuf<F>>, ) -> Result<T, JsonLocated<E, F>>
Pairs this result’s error, if any, with location.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".