Skip to main content

GenericContexts

Trait GenericContexts 

Source
pub trait GenericContexts<T> {
    // Required methods
    fn expected_error(self) -> Result<T, ProcessError>;
    fn internal_error(self) -> Result<T, ProcessError>;
}

Required Methods§

Implementations on Foreign Types§

Source§

impl<T> GenericContexts<T> for Option<T>

Source§

impl<T, E> GenericContexts<T> for Result<T, E>
where E: Error + Any,

Implementors§