[][src]Trait interledger_settlement::Convert

pub trait Convert {
    type Item: Sized;
    fn normalize_scale(&self, details: ConvertDetails) -> Result<Self::Item, ()>;
}

Traits for u64 and f64 asset code conversions for amounts and rates

Associated Types

type Item: Sized

Loading content...

Required methods

fn normalize_scale(&self, details: ConvertDetails) -> Result<Self::Item, ()>

Loading content...

Implementations on Foreign Types

impl Convert for u64[src]

type Item = u64

impl Convert for f64[src]

type Item = f64

impl Convert for BigUint[src]

type Item = BigUint

Loading content...

Implementors

Loading content...