pub trait AccountIdExt {
// Required methods
fn from_str(value: &str) -> Result<AccountId, String>;
fn from_slice(value: &[u8]) -> Result<AccountId, String>;
fn default() -> AccountId;
}
Required Methods§
fn from_str(value: &str) -> Result<AccountId, String>
fn from_slice(value: &[u8]) -> Result<AccountId, String>
fn default() -> AccountId
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.