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§
sourcetype _Sha256: FromStr<Err = Self::_Sha256FromStrErr> + Clone + Eq + Ord + Display + Debug + Hash
type _Sha256: FromStr<Err = Self::_Sha256FromStrErr> + Clone + Eq + Ord + Display + Debug + Hash
Dummy type. Do not use.
sourcetype _Sha256FromStrErr: Debug + Display
type _Sha256FromStrErr: Debug + Display
Dummy type. Do not use.
sourcetype _Hash256: FromStr<Err = Self::_Hash256FromStrErr> + Clone + Eq + Ord + Display + Debug + Hash
type _Hash256: FromStr<Err = Self::_Hash256FromStrErr> + Clone + Eq + Ord + Display + Debug + Hash
Dummy type. Do not use.
sourcetype _Hash256FromStrErr: Debug + Display
type _Hash256FromStrErr: Debug + Display
Dummy type. Do not use.
sourcetype _Ripemd160: FromStr<Err = Self::_Ripemd160FromStrErr> + Clone + Eq + Ord + Display + Debug + Hash
type _Ripemd160: FromStr<Err = Self::_Ripemd160FromStrErr> + Clone + Eq + Ord + Display + Debug + Hash
Dummy type. Do not use.
sourcetype _Ripemd160FromStrErr: Debug + Display
type _Ripemd160FromStrErr: Debug + Display
Dummy type. Do not use.
sourcetype _Hash160: FromStr<Err = Self::_Hash160FromStrErr> + Clone + Eq + Ord + Display + Debug + Hash
type _Hash160: FromStr<Err = Self::_Hash160FromStrErr> + Clone + Eq + Ord + Display + Debug + Hash
Dummy type. Do not use.
sourcetype _Hash160FromStrErr: Debug + Display
type _Hash160FromStrErr: Debug + Display
Dummy type. Do not use.
sourcetype _FromStrErr: Debug + Display
type _FromStrErr: Debug + Display
Dummy type. Do not use.