pub trait LocData<T> {
type Result;
// Required method
fn loc(self, flc: &'static ConstLocation) -> Self::Result;
}Expand description
Extension for Result<T> to allow for custom error handling.
pub trait LocData<T> {
type Result;
// Required method
fn loc(self, flc: &'static ConstLocation) -> Self::Result;
}Extension for Result<T> to allow for custom error handling.