Skip to main content

WPLCodeErrorTrait

Trait WPLCodeErrorTrait 

Source
pub trait WPLCodeErrorTrait {
    // Required method
    fn from_syntax(e: ErrMode<ContextError>, code: &str, path: &str) -> Self;
}

Required Methods§

Source

fn from_syntax(e: ErrMode<ContextError>, code: &str, path: &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.

Implementations on Foreign Types§

Source§

impl WPLCodeErrorTrait for StructError<WplCodeReason>

Source§

fn from_syntax(e: ErrMode<ContextError>, code: &str, path: &str) -> Self

Implementors§