Skip to main content

ResultExt

Trait ResultExt 

Source
pub trait ResultExt<X, T> {
    // Required method
    fn get_internal_error(self) -> Result<X, Result<T, String>>;
}
Expand description

Extension trait for extracting internal errors from VirtualServerError results.

Provides a method to distinguish between internal handler errors and other virtual server errors.

Required Methods§

Implementations on Foreign Types§

Source§

impl<X, T: Debug> ResultExt<X, T> for Result<X, VirtualServerError<T>>

Implementors§