ToExternalError

Trait ToExternalError 

Source
pub trait ToExternalError<T> {
    // Required method
    fn external<S>(self, context: S) -> Result<T, VegaFusionError>
       where S: Into<String>;
}

Required Methods§

Source

fn external<S>(self, context: S) -> Result<T, VegaFusionError>
where S: Into<String>,

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<T, E> ToExternalError<T> for Result<T, E>
where E: Error,

Source§

fn external<S>(self, context: S) -> Result<T, VegaFusionError>
where S: Into<String>,

Implementors§