pub trait ContextError: Sized {
// Required method
fn add_context(self, context: &'static str) -> Self;
}Expand description
.context() でコンテキストラベルを積むトレイト。
Required Methods§
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§
impl ContextError for MinimalError
impl ContextError for ParseError
Available on crate feature
alloc only.