Trait ToResult
rbatis::utils::error_util
pub trait ToResult<T> { pub fn to_result<F>(&self, fail_method: F) -> Result<&T, Error> where F: Fn() -> String; }
pub fn to_result<F>(&self, fail_method: F) -> Result<&T, Error> where F: Fn() -> String,
impl<T, '_> ToResult<T> for Option<&'_ T>