[][src]Trait err_tools::ResError

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> { ... } }

Associated Types

type V[src]

type E: Debug + Display + Send + Sync + 'static[src]

Loading content...

Required methods

pub fn res_err(self) -> Result<Self::V, Self::E>[src]

Loading content...

Provided methods

pub fn e_str(self, s: &'static str) -> Result<Self::V>[src]

pub fn e_string(self, s: String) -> Result<Self::V>[src]

Loading content...

Implementations on Foreign Types

impl<T, E: Debug + Display + Sync + Send + 'static> ResError for Result<T, E>[src]

type V = T

type E = E

Loading content...

Implementors

Loading content...