Type Alias zebra_chain::amount::Result
source · pub type Result<T, E = Error> = Result<T, E>;
Expand description
The result of an amount operation.
Aliased Type§
enum Result<T, E = Error> {
Ok(T),
Err(E),
}
Variants§
Trait Implementations§
source§impl<C> AddAssign<Amount<C>> for Result<Amount<C>>
impl<C> AddAssign<Amount<C>> for Result<Amount<C>>
source§fn add_assign(&mut self, rhs: Amount<C>)
fn add_assign(&mut self, rhs: Amount<C>)
Performs the
+=
operation. Read moresource§impl<C> SubAssign<Amount<C>> for Result<Amount<C>>
impl<C> SubAssign<Amount<C>> for Result<Amount<C>>
source§fn sub_assign(&mut self, rhs: Amount<C>)
fn sub_assign(&mut self, rhs: Amount<C>)
Performs the
-=
operation. Read more