Trait SerdeResultToRspackResultExt

Source
pub trait SerdeResultToRspackResultExt<T> {
    // Required method
    fn to_rspack_result_with_detail(self, content: &str, msg: &str) -> Result<T>;
}

Required Methods§

Source

fn to_rspack_result_with_detail(self, content: &str, msg: &str) -> Result<T>

Implementations on Foreign Types§

Source§

impl<T> SerdeResultToRspackResultExt<T> for Result<T, Error>

Source§

fn to_rspack_result_with_detail(self, content: &str, msg: &str) -> Result<T>

Implementors§