ToRevoltError

Trait ToRevoltError 

Source
pub trait ToRevoltError<T> {
    // Required method
    fn to_internal_error(self) -> Result<T, Error>;
}

Required Methods§

Implementations on Foreign Types§

Source§

impl<T> ToRevoltError<T> for Option<T>

Implementors§

Source§

impl<T, E: Debug + Error> ToRevoltError<T> for Result<T, E>