[−][src]Type Definition witcher::Result
type Result<T, E = Error> = Result<T, E>;
Result<T>
is a simplified return type to use throughout your application.
Trait Implementations
impl<T, E> Wrapper<T, E> for Result<T, E> where
E: StdError + Send + Sync + 'static,
[src]
E: StdError + Send + Sync + 'static,
pub fn pass(self) -> Result<T>
[src]
pub fn wrap(self, msg: &str) -> Result<T>
[src]
pub fn err_is<U>(&self) -> bool where
U: StdError + 'static,
[src]
U: StdError + 'static,
pub fn retry<F>(self, max: usize, f: F) -> Result<T, E> where
F: Fn(usize) -> Result<T, E>,
[src]
F: Fn(usize) -> Result<T, E>,
pub fn retry_on<F>(self, max: usize, id: TypeId, f: F) -> Result<T, E> where
F: Fn(usize) -> Result<T, E>,
[src]
F: Fn(usize) -> Result<T, E>,