pub trait SymmetricResultExt<T> {
// Required methods
fn map_primitive_err(self) -> Result<T>;
fn map_io_err(self) -> Result<T>;
}Required Methods§
Sourcefn map_primitive_err(self) -> Result<T>
fn map_primitive_err(self) -> Result<T>
Convert a Result with PrimitiveError to a Result with API Error
Sourcefn map_io_err(self) -> Result<T>
fn map_io_err(self) -> Result<T>
Convert a Result with IO Error to a Result with API Error
Implementations on Foreign Types§
Source§impl<T> SymmetricResultExt<T> for Result<T, Error>
impl<T> SymmetricResultExt<T> for Result<T, Error>
fn map_primitive_err(self) -> Result<T>
fn map_io_err(self) -> Result<T>
Source§impl<T> SymmetricResultExt<T> for Result<T, Error>
impl<T> SymmetricResultExt<T> for Result<T, Error>
fn map_primitive_err(self) -> Result<T>
fn map_io_err(self) -> Result<T>
Source§impl<T> SymmetricResultExt<T> for Result<T, Error>
Available on crate feature std only.
impl<T> SymmetricResultExt<T> for Result<T, Error>
Available on crate feature
std only.