Skip to main content

with_asset_screener

Function with_asset_screener 

Source
pub fn with_asset_screener<R, F>(asset: Asset, f: F) -> Result<R>
where F: FnOnce(&mut Screener) -> Result<R>,
Expand description

Configures a typed screener for asset and returns the result of f.

ยงErrors

Propagates errors from f or typed screener construction defaults.