pub trait LocData<T> {
type Result;
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;
fn loc(self, flc: &'static ConstLocation) -> Self::Result;
}
Extension for Result<T>
to allow for custom error handling.