pub trait CtxExt<T> {
// Required methods
fn ctx(self, message: impl Into<String>) -> Result<T>;
fn ctx_with<F, S>(self, f: F) -> Result<T>
where F: FnOnce() -> S,
S: Into<String>;
fn here(self) -> Result<T>;
}Required Methods§
fn ctx(self, message: impl Into<String>) -> Result<T>
fn ctx_with<F, S>(self, f: F) -> Result<T>
fn here(self) -> Result<T>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".