Trait ResError
err_tools
pub trait ResError: Sized { type V; type E: Debug + Display + Send + Sync + 'static; pub fn res_err(self) -> Result<Self::V, Self::E>; pub fn e_str(self, s: &'static str) -> Result<Self::V> { ... } pub fn e_string(self, s: String) -> Result<Self::V> { ... } }
type V
type E: Debug + Display + Send + Sync + 'static
pub fn res_err(self) -> Result<Self::V, Self::E>
pub fn e_str(self, s: &'static str) -> Result<Self::V>
pub fn e_string(self, s: String) -> Result<Self::V>
impl<T, E: Debug + Display + Sync + Send + 'static> ResError for Result<T, E>
type V = T
type E = E
pub fn res_err(self) -> Self