Trait psbt::Map[][src]

pub trait Map {
    fn insert_pair(&mut self, pair: Pair) -> Result<(), Error>;
fn get_pairs(&self) -> Result<Vec<Pair, Global>, Error>;
fn merge(&mut self, other: Self) -> Result<(), Error>; }
Expand description

A trait that describes a PSBT key-value map.

Required methods

Attempt to insert a key-value pair.

Attempt to get all key-value pairs.

Attempt to merge with another key-value map of the same type.

Implementations on Foreign Types

Implementors