pub trait KeypairSigner:
Send
+ Sync
+ Sized
+ Clone {
// Required methods
fn account(&self) -> AccountId;
fn sign(&self, message: &[u8]) -> MultiSignature;
fn from_string(s: &str, password_override: Option<&str>) -> Result<Self>;
}
Required Methods§
fn account(&self) -> AccountId
fn sign(&self, message: &[u8]) -> MultiSignature
fn from_string(s: &str, password_override: Option<&str>) -> Result<Self>
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.