Trait nuclear::error::CatchExt[][src]

pub trait CatchExt {
    type Value;
    type Error;
    fn catch<E>(self) -> Result<Result<Self::Value, E>, Self::Error>
    where
        E: Error + Send + Sync + 'static
; }

Associated Types

Loading content...

Required methods

fn catch<E>(self) -> Result<Result<Self::Value, E>, Self::Error> where
    E: Error + Send + Sync + 'static, 
[src]

Loading content...

Implementors

impl<T> CatchExt for Result<T>[src]

type Value = T

type Error = Error

fn catch<E>(self) -> Result<Result<Self::Value, E>, Self::Error> where
    E: Error + Send + Sync + 'static, 
[src]

Loading content...