Trait 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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§