Trait binator::Contexting
source · pub trait Contexting<Atom>: Sized + Add<Atom, Output = Self> + BitOr<Output = Self> + ProvideElement {
// Required method
fn new(atom: Atom) -> Self;
}
Expand description
Contexting is a trait used to report failure and error. This idea is too have a tree of context that will help final user to understand the error. It’s can also help for debugging purpose.
Required Methods§
Object Safety§
This trait is not object safe.