Skip to main content

ContextError

Trait ContextError 

Source
pub trait ContextError: Sized {
    // Required method
    fn add_context(self, context: &'static str) -> Self;
}
Expand description

.context() でコンテキストラベルを積むトレイト。

Required Methods§

Source

fn add_context(self, context: &'static str) -> 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§