Trait miniscript::FromStrKey

source ·
pub trait FromStrKey: MiniscriptKey<Sha256 = Self::_Sha256, Hash256 = Self::_Hash256, Ripemd160 = Self::_Ripemd160, Hash160 = Self::_Hash160> + FromStr<Err = Self::_FromStrErr> {
    type _Sha256: FromStr<Err = Self::_Sha256FromStrErr> + Clone + Eq + Ord + Display + Debug + Hash;
    type _Sha256FromStrErr: Debug + Display;
    type _Hash256: FromStr<Err = Self::_Hash256FromStrErr> + Clone + Eq + Ord + Display + Debug + Hash;
    type _Hash256FromStrErr: Debug + Display;
    type _Ripemd160: FromStr<Err = Self::_Ripemd160FromStrErr> + Clone + Eq + Ord + Display + Debug + Hash;
    type _Ripemd160FromStrErr: Debug + Display;
    type _Hash160: FromStr<Err = Self::_Hash160FromStrErr> + Clone + Eq + Ord + Display + Debug + Hash;
    type _Hash160FromStrErr: Debug + Display;
    type _FromStrErr: Debug + Display;
}
Expand description

Blanket trait describing a key where all associated types implement FromStr, and all FromStr errors can be displayed.

Required Associated Types§

source

type _Sha256: FromStr<Err = Self::_Sha256FromStrErr> + Clone + Eq + Ord + Display + Debug + Hash

Dummy type. Do not use.

source

type _Sha256FromStrErr: Debug + Display

Dummy type. Do not use.

source

type _Hash256: FromStr<Err = Self::_Hash256FromStrErr> + Clone + Eq + Ord + Display + Debug + Hash

Dummy type. Do not use.

source

type _Hash256FromStrErr: Debug + Display

Dummy type. Do not use.

source

type _Ripemd160: FromStr<Err = Self::_Ripemd160FromStrErr> + Clone + Eq + Ord + Display + Debug + Hash

Dummy type. Do not use.

source

type _Ripemd160FromStrErr: Debug + Display

Dummy type. Do not use.

source

type _Hash160: FromStr<Err = Self::_Hash160FromStrErr> + Clone + Eq + Ord + Display + Debug + Hash

Dummy type. Do not use.

source

type _Hash160FromStrErr: Debug + Display

Dummy type. Do not use.

source

type _FromStrErr: Debug + Display

Dummy type. Do not use.

Object Safety§

This trait is not object safe.

Implementors§