Skip to main content

WebErrorExt

Trait WebErrorExt 

Source
pub trait WebErrorExt<T> {
    // Required methods
    fn message(self) -> Result<T>;
    fn parameter(self, message: impl Into<String>) -> Result<T>;
    fn internal(self, message: impl Into<String>) -> Result<T>;
}

Required Methods§

Source

fn message(self) -> Result<T>

Source

fn parameter(self, message: impl Into<String>) -> Result<T>

Source

fn internal(self, message: impl Into<String>) -> Result<T>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T, E> WebErrorExt<T> for Result<T, E>
where E: Display + Send + Sync + 'static,

Source§

fn message(self) -> Result<T>

Source§

fn parameter(self, message: impl Into<String>) -> Result<T>

Source§

fn internal(self, message: impl Into<String>) -> Result<T>

Implementors§