pub trait LiquidCacheErrorExt<T> {
// Required method
fn with_liquid_context(
self,
message: impl Into<String>,
) -> LiquidCacheResult<T>;
}
Expand description
Extension trait to add context to Results for better error reporting
Required Methods§
Sourcefn with_liquid_context(self, message: impl Into<String>) -> LiquidCacheResult<T>
fn with_liquid_context(self, message: impl Into<String>) -> LiquidCacheResult<T>
Add context to an error for better error reporting
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.