Type Definition Result
apint
type Result<T> = Result<T, Error>;
The Result type used in ApInt.
Result
ApInt
impl<T> Into<Result<T>> for Error
fn into(self) -> Result<T>
Converts an Error into a Result<T, Error>.
Error
Result<T, Error>
This might be useful to prevent some parentheses spams because it replaces Err(my_error) with my_error.into().
Err(my_error)
my_error.into()
On the other hand it might be an abuse of the trait ...