Context

Trait Context 

Source
pub trait Context: Sized {
    // Required method
    fn context(self, ctx: impl Into<String>) -> Self;
}

Required Methods§

Source

fn context(self, ctx: impl Into<String>) -> Self

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.

Implementors§

Source§

impl<T> Context for Result<T>